From: Elan Ruusamäe Date: Mon, 9 Oct 2006 19:16:37 +0000 (+0000) Subject: - use system Smarty X-Git-Tag: help~9 X-Git-Url: http://git.pld-linux.org/?p=packages%2Flms.git;a=commitdiff_plain;h=692584010aa5dc8f63e9c8ff6c4e89f0f64db4a4 - use system Smarty Changed files: lms-smarty.patch -> 1.1 --- diff --git a/lms-smarty.patch b/lms-smarty.patch new file mode 100644 index 0000000..b6f6ca5 --- /dev/null +++ b/lms-smarty.patch @@ -0,0 +1,44 @@ +--- lms/contrib/customer/index.php 2006-09-19 09:29:54.000000000 +0300 ++++ lms.smarty/contrib/customer/index.php 2006-10-09 22:10:09.496575380 +0300 +@@ -127,7 +127,7 @@ + + // Initialize templates engine + +-require_once($_LIB_DIR.'/Smarty/Smarty.class.php'); ++require_once('/usr/share/php/Smarty/Smarty.class.php'); + + $SMARTY = new Smarty; + +--- lms/contrib/customer_otherip/class.php 2006-09-19 09:29:54.000000000 +0300 ++++ lms.smarty/contrib/customer_otherip/class.php 2006-10-09 22:10:28.897010001 +0300 +@@ -129,7 +129,7 @@ + + // Initialize templates engine + +-require_once($_LIB_DIR.'/Smarty/Smarty.class.php'); ++require_once('/usr/share/php/Smarty/Smarty.class.php'); + + $SMARTY = new Smarty; + +--- lms/contrib/squid_redirector/index.php 2006-09-19 09:29:54.000000000 +0300 ++++ lms.smarty/contrib/squid_redirector/index.php 2006-10-09 22:10:37.417200876 +0300 +@@ -119,7 +119,7 @@ + + // Initialize templates engine + +-require_once($_LIB_DIR.'/Smarty/Smarty.class.php'); ++require_once('/usr/share/php/Smarty/Smarty.class.php'); + + $SMARTY = new Smarty; + $SESSION = NULL; +--- lms/index.php 2006-10-09 22:11:58.559018668 +0300 ++++ lms.smarty/index.php 2006-10-09 22:09:37.405856460 +0300 +@@ -126,7 +126,7 @@ + + // Initialize templates engine (must be before locale settings) + +-require_once($_LIB_DIR.'/Smarty/Smarty.class.php'); ++require_once '/usr/share/php/Smarty/Smarty.class.php'); + + $SMARTY = new Smarty; +