diff --git a/gulliver/system/class.bootstrap.php b/gulliver/system/class.bootstrap.php index 9efe7f423..4169c05e7 100644 --- a/gulliver/system/class.bootstrap.php +++ b/gulliver/system/class.bootstrap.php @@ -965,6 +965,7 @@ class Bootstrap } } + $mtime = date ( 'U' ); $gmt_mtime = gmdate( "D, d M Y H:i:s", $mtime ) . " GMT"; header( 'Pragma: cache' ); header( 'ETag: "' . md5( $mtime . $filename ) . '"' ); diff --git a/workflow/public_html/sysGeneric.php b/workflow/public_html/sysGeneric.php index 992259a68..c1566e692 100755 --- a/workflow/public_html/sysGeneric.php +++ b/workflow/public_html/sysGeneric.php @@ -400,7 +400,7 @@ if (defined( 'PATH_DATA' ) && file_exists( PATH_DATA )) { Bootstrap::LoadThirdParty( 'smarty/libs', 'Smarty.class' ); //testing the autoloader feature -spl_autoload_register(array(Bootstrap, 'autoloadClass')); +spl_autoload_register(array('Bootstrap', 'autoloadClass')); Bootstrap::registerClass('headPublisher', PATH_GULLIVER . "class.headPublisher.php"); Bootstrap::registerClass('G', PATH_GULLIVER . "class.g.php"); Bootstrap::registerClass('publisher', PATH_GULLIVER . "class.publisher.php");