/** * Start all the services: * 1. Start the session * 2. Update the include path * 3. Include the global helpers * 4. Connect the current user to the generis API * 5. Initialize the internationalization * 6. Check the application' state */ public function start() { if (!self::$isStarted) { $this->session(); $this->setDefaultTimezone(); $this->registerErrorhandler(); self::$isStarted = true; } common_Profiler::stop('start'); }
/** * Start all the services: * 1. Start the session * 2. Update the include path * 3. Include the global helpers * 4. Connect the current user to the generis API * 5. Initialize the internationalization * 6. Check the application' state */ public function start() { if (!self::$isStarted) { $this->session(); $this->includePath(); $this->registerErrorhandler(); $this->globalHelpers(); self::$isStarted = true; } common_Profiler::stop('start'); }