summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9fec1a0)
raw | patch | inline | side by side (parent: 9fec1a0)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 19 Nov 2010 14:22:42 +0000 (14:22 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 19 Nov 2010 14:22:42 +0000 (14:22 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20296 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/php_setup.inc | patch | blob | history |
index 2b3838ea2827d397ee3ef445c0c2fa4e1999960a..0e3e294f2549eb80851dccbcc6605b373cfef75c 100644 (file)
$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/');