From: hickert Date: Fri, 19 Nov 2010 14:22:42 +0000 (+0000) Subject: Removed Smarty version check X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c00e4c2cc10d5cc8279ff2cec0880852ba61f0d5;p=gosa.git Removed Smarty version check git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20296 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/php_setup.inc b/gosa-core/include/php_setup.inc index 2b3838ea2..0e3e294f2 100644 --- a/gosa-core/include/php_setup.inc +++ b/gosa-core/include/php_setup.inc @@ -292,13 +292,7 @@ require("smarty/Smarty.class.php"); $smarty = new Smarty; $smarty->template_dir = $BASE_DIR.'/ihtml/'; $smarty->caching= false; - -// To be able to switch between smarty version 2/3 -if(defined('SMARTY_PHP_REMOVE')){ - $smarty->php_handling= SMARTY_PHP_REMOVE; -}else{ - $smarty->php_handling= Smarty::PHP_REMOVE; -} +$smarty->php_handling= Smarty::PHP_REMOVE; /* Global FPDF define */ define('FPDF_FONTPATH', '/usr/share/php/fpdf/font/');