summaryrefslogtreecommitdiffstats
path: root/php-tcpdf_cachepath.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-05-09 16:04:12 +0200
committerRemi Collet <fedora@famillecollet.com>2013-05-09 16:04:12 +0200
commitc363a0ee6270c55d80d8db8db3e98259bc5281e5 (patch)
tree60dc577085dc52241f6db401406e8ec35862f6e9 /php-tcpdf_cachepath.patch
php-tcpdf: new package from trashy
Diffstat (limited to 'php-tcpdf_cachepath.patch')
-rw-r--r--php-tcpdf_cachepath.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/php-tcpdf_cachepath.patch b/php-tcpdf_cachepath.patch
new file mode 100644
index 0000000..7b9f5d0
--- /dev/null
+++ b/php-tcpdf_cachepath.patch
@@ -0,0 +1,24 @@
+diff -up tcpdf/config/tcpdf_config_alt.php.patch tcpdf/config/tcpdf_config_alt.php
+--- tcpdf/config/tcpdf_config_alt.php.patch 2013-05-09 11:34:19.817868752 +0200
++++ tcpdf/config/tcpdf_config_alt.php 2013-05-09 11:35:15.570865072 +0200
+@@ -89,7 +89,7 @@ define ('K_PATH_FONTS', K_PATH_MAIN.'fon
+ /**
+ * cache directory for temporary files (full path)
+ */
+-define ('K_PATH_CACHE', K_PATH_MAIN.'cache/');
++define ('K_PATH_CACHE', '/var/cache/php-tcpdf/');
+
+ /**
+ * cache directory for temporary files (url path)
+diff -up tcpdf/config/tcpdf_config.php.patch tcpdf/config/tcpdf_config.php
+--- tcpdf/config/tcpdf_config.php.patch 2013-05-09 11:34:10.705869354 +0200
++++ tcpdf/config/tcpdf_config.php 2013-05-09 11:35:20.611864739 +0200
+@@ -94,7 +94,7 @@ if (!defined('K_TCPDF_EXTERNAL_CONFIG'))
+ /**
+ * cache directory for temporary files (full path)
+ */
+- define ('K_PATH_CACHE', K_PATH_MAIN.'cache/');
++ define ('K_PATH_CACHE', '/var/cache/php-tcpdf/');
+
+ /**
+ * cache directory for temporary files (url path)