Merge pull request #906 from ferOnti/master

SPEEDY improve sysGeneric to stream files instead build them at runtime
This commit is contained in:
ferOnti
2012-11-08 05:01:07 -08:00

View File

@@ -299,6 +299,10 @@
die; die;
} }
// Create headPublisher singleton
G::LoadSystem('headPublisher');
$oHeadPublisher =& headPublisher::getSingleton();
// database and workspace definition // database and workspace definition
// if SYS_TEMP exists, the URL has a workspace, now we need to verify if exists their db.php file // if SYS_TEMP exists, the URL has a workspace, now we need to verify if exists their db.php file
if ( defined('SYS_TEMP') && SYS_TEMP != '') { if ( defined('SYS_TEMP') && SYS_TEMP != '') {
@@ -363,10 +367,6 @@
define('SERVER_NAME', $_SERVER ['SERVER_NAME']); define('SERVER_NAME', $_SERVER ['SERVER_NAME']);
define('SERVER_PORT', $_SERVER ['SERVER_PORT']); define('SERVER_PORT', $_SERVER ['SERVER_PORT']);
// Create headPublisher singleton
G::LoadSystem('headPublisher');
$oHeadPublisher =& headPublisher::getSingleton();
// create memcached singleton // create memcached singleton
G::LoadClass ( 'memcached' ); G::LoadClass ( 'memcached' );
$memcache = & PMmemcached::getSingleton(SYS_SYS); $memcache = & PMmemcached::getSingleton(SYS_SYS);