Index: branches/5.1.x/core/kernel/utility/adodb-time.inc.php =================================================================== diff -u -N -r12127 -r12657 --- branches/5.1.x/core/kernel/utility/adodb-time.inc.php (.../adodb-time.inc.php) (revision 12127) +++ branches/5.1.x/core/kernel/utility/adodb-time.inc.php (.../adodb-time.inc.php) (revision 12657) @@ -12,15 +12,12 @@ and originally found at http://www.php.net/manual/en/function.mktime.php ============================================================================= +*/ +defined('FULL_PATH') or die('restricted access!'); -/* Initialization */ +define('ADODB_DATE_VERSION', 0.21); -/* - Version Number -*/ -define('ADODB_DATE_VERSION',0.21); - if (!defined('ADODB_ALLOW_NEGATIVE_TS')) define('ADODB_NO_NEGATIVE_TS',1); function adodb_date_test_date($y1,$m,$d=13) @@ -758,7 +755,4 @@ if ($ts === false) $ts = time(); $ret = adodb_date($fmtdate, $ts, $is_gmt); return $ret; -} - - -?> \ No newline at end of file +} \ No newline at end of file