Use require_once

This commit is contained in:
Uwe Tews
2015-01-07 16:45:33 +01:00
parent b3f8ddefd2
commit 740a583c7c
5 changed files with 45 additions and 31 deletions

View File

@@ -33,7 +33,7 @@ function smarty_modifier_date_format($string, $format = null, $default_date = ''
$format = Smarty::$_DATE_FORMAT;
}
/**
* Include the {@link shared.make_timestamp.php} plugin
* require_once the {@link shared.make_timestamp.php} plugin
*/
require_once(SMARTY_PLUGINS_DIR . 'shared.make_timestamp.php');
if ($string != '' && $string != '0000-00-00' && $string != '0000-00-00 00:00:00') {