37 |
* |
* |
38 |
*/ |
*/ |
39 |
|
|
40 |
require('Smarty.addons.php'); |
require("inc/Smarty.addons.php"); |
41 |
require("Smarty.local.php"); |
require("inc/Smarty.local.php"); |
42 |
|
|
43 |
define("SMARTY_PHP_PASSTHRU",0); |
define("SMARTY_PHP_PASSTHRU",0); |
44 |
define("SMARTY_PHP_QUOTE",1); |
define("SMARTY_PHP_QUOTE",1); |
111 |
|
|
112 |
//----- local custom_mods |
//----- local custom_mods |
113 |
'filesize' => 'smarty_mod_filesize', |
'filesize' => 'smarty_mod_filesize', |
114 |
|
'js_popup' => 'smarty_mod_js_popup', |
115 |
|
|
116 |
); |
); |
117 |
|
|
360 |
include($_compile_file); |
include($_compile_file); |
361 |
else { |
else { |
362 |
ob_start(); |
ob_start(); |
363 |
include($_compile_file); |
@include($_compile_file); |
364 |
$results = ob_get_contents(); |
$results = ob_get_contents(); |
365 |
ob_end_clean(); |
ob_end_clean(); |
366 |
} |
} |