SOURCES: lms-PLD.patch - fix smarty path
glen
glen at pld-linux.org
Mon Jan 30 00:37:28 CET 2006
Author: glen Date: Sun Jan 29 23:37:27 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix smarty path
---- Files affected:
SOURCES:
lms-PLD.patch (1.9 -> 1.10)
---- Diffs:
================================================================
Index: SOURCES/lms-PLD.patch
diff -u SOURCES/lms-PLD.patch:1.9 SOURCES/lms-PLD.patch:1.10
--- SOURCES/lms-PLD.patch:1.9 Sun Nov 6 23:39:43 2005
+++ SOURCES/lms-PLD.patch Mon Jan 30 00:37:22 2006
@@ -13,7 +13,7 @@
$_CONFIG['directories']['config_templates_dir'] = (!isset($_CONFIG['directories']['config_templates_dir']) ? $_CONFIG['directories']['sys_dir'].'/config_templates' : $_CONFIG['directories']['config_templates_dir']);
-$_CONFIG['directories']['smarty_dir'] = (!isset($_CONFIG['directories']['smarty_dir']) ? (is_readable('/usr/share/php/smarty/libs/Smarty.class.php') ? '/usr/share/php/smarty/libs' : $_CONFIG['directories']['lib_dir'].'/Smarty') : $_CONFIG['directories']['smarty_dir']);
-$_CONFIG['directories']['smarty_compile_dir'] = (!isset($_CONFIG['directories']['smarty_compile_dir']) ? $_CONFIG['directories']['sys_dir'].'/templates_c' : $_CONFIG['directories']['smarty_compile_dir']);
-+$_CONFIG['directories']['smarty_dir'] = (!isset($_CONFIG['directories']['smarty_dir']) ? '/usr/share/pear/Smarty' : $_CONFIG['directories']['smarty_dir']);
++$_CONFIG['directories']['smarty_dir'] = (!isset($_CONFIG['directories']['smarty_dir']) ? '/usr/share/php/Smarty' : $_CONFIG['directories']['smarty_dir']);
+$_CONFIG['directories']['smarty_compile_dir'] = (!isset($_CONFIG['directories']['smarty_compile_dir']) ? '/var/lib/lms/templates_c/' : $_CONFIG['directories']['smarty_compile_dir']);
$_CONFIG['directories']['smarty_templates_dir'] = (!isset($_CONFIG['directories']['smarty_templates_dir']) ? $_CONFIG['directories']['sys_dir'].'/templates' : $_CONFIG['directories']['smarty_templates_dir']);
@@ -42,7 +42,7 @@
; http://smarty.php.net
-; smarty_dir = /usr/lib/php/Smarty
-+; smarty_dir = /usr/share/pear/Smarty
++; smarty_dir = /usr/share/php/Smarty
+
; W pld jest domyślnie tutaj: (nie zapomnij o "poldek -i Smarty");
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/lms-PLD.patch?r1=1.9&r2=1.10&f=u
More information about the pld-cvs-commit
mailing list