Пример #1
0
 public static function init()
 {
     $output = new CM_OutputStream_Null();
     $loader = CM_App::getInstance()->getProvisionLoader();
     $loader->unload($output);
     $loader->load($output);
     self::$_configBackup = serialize(CM_Config::get());
     // Reset environment
     self::clearEnv();
     self::randomizeAutoincrement();
     self::timeInit();
 }