Code

Removed smarty plugin loading
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 25 Oct 2011 12:42:30 +0000 (12:42 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 25 Oct 2011 12:42:30 +0000 (12:42 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@21026 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/php_setup.inc

index 820c6da89dfd21399df18727638aeea781093007..29e018a3e6caf76f9e524a4736f71b95cc2d5977 100644 (file)
@@ -308,17 +308,17 @@ if(defined('SMARTY_PHP_REMOVE')){
 }                                                                                                                       
 
 // Register GOsa contributed smarty plugins
-$d = opendir("$BASE_DIR/include/smartyAddons");
-while($file = readdir($d)){
-    if(preg_match("/\.php$/", $file)) require_once("$BASE_DIR/include/smartyAddons/{$file}");
-}
+#$d = opendir("$BASE_DIR/include/smartyAddons");
+#while($file = readdir($d)){
+#    if(preg_match("/\.php$/", $file)) require_once("$BASE_DIR/include/smartyAddons/{$file}");
+#}
 
 #$smarty->registerPlugin("block", "tr", "smarty_block_tr");
-$smarty->registerPlugin("block", "t", "smarty_block_t");
-$smarty->registerPlugin("block", "render", "smarty_block_render");
-$smarty->registerPlugin("function", "msgPool", "smarty_function_msgPool");
-$smarty->registerPlugin("function", "image", "smarty_function_image");
-$smarty->registerPlugin("function", "factory", "smarty_function_factory");
+#$smarty->registerPlugin("block", "t", "smarty_block_t");
+#$smarty->registerPlugin("block", "render", "smarty_block_render");
+#$smarty->registerPlugin("function", "msgPool", "smarty_function_msgPool");
+#$smarty->registerPlugin("function", "image", "smarty_function_image");
+#$smarty->registerPlugin("function", "factory", "smarty_function_factory");
 
 /* Global FPDF define */
 define('FPDF_FONTPATH', '/usr/share/php/fpdf/font/');