From: SÅ‚awomir Paszkiewicz Date: Sun, 12 Dec 2010 18:09:12 +0000 (+0000) Subject: - updated for 3.0.5 X-Git-Tag: auto/th/Smarty-2.6.14-8~2 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=3b8d59973783429ae544b5ca833bebb0d4ee7384;p=packages%2FSmarty.git - updated for 3.0.5 Changed files: path.patch -> 1.2 --- diff --git a/path.patch b/path.patch index 1d9187b..e96f663 100644 --- a/path.patch +++ b/path.patch @@ -1,11 +1,12 @@ ---- Smarty-2.6.26/libs/Smarty.class.php~ 2009-06-18 17:47:04.000000000 +0300 -+++ Smarty-2.6.26/libs/Smarty.class.php 2010-05-28 14:46:48.810070152 +0300 -@@ -46,7 +46,7 @@ +diff -ur Smarty-3.0.5/libs/Smarty.class.php Smarty-3.0.5.new//libs/Smarty.class.php +--- Smarty-3.0.5/libs/Smarty.class.php 2010-11-21 03:59:07.000000000 +0100 ++++ Smarty-3.0.5.new//libs/Smarty.class.php 2010-12-12 19:05:26.021806440 +0100 +@@ -43,7 +43,7 @@ + * Sets SMARTY_DIR only if user application has not already defined it. */ - if (!defined('SMARTY_DIR')) { -- define('SMARTY_DIR', dirname(__FILE__) . DIRECTORY_SEPARATOR); +- define('SMARTY_DIR', dirname(__FILE__) . DS); + define('SMARTY_DIR', '/usr/share/php/Smarty/'); - } + } - if (!defined('SMARTY_CORE_DIR')) { + /**