Changeset 652
- Timestamp:
- 10/04/2007 08:10:40 PM (12 months ago)
- Location:
- trunk/system
- Files:
-
- 13 modified
-
core/Bootstrap.php (modified) (1 diff)
-
core/Kohana.php (modified) (3 diffs)
-
libraries/Calendar.php (modified) (1 diff)
-
libraries/Database.php (modified) (1 diff)
-
libraries/Encrypt.php (modified) (1 diff)
-
libraries/Ftp.php (modified) (1 diff)
-
libraries/Image_lib.php (modified) (1 diff)
-
libraries/Input.php (modified) (1 diff)
-
libraries/Pagination.php (modified) (1 diff)
-
libraries/Session.php (modified) (1 diff)
-
libraries/Upload.php (modified) (1 diff)
-
libraries/User_agent.php (modified) (1 diff)
-
libraries/View.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/core/Bootstrap.php
r651 r652 62 62 63 63 // Manually flush the output buffer to allow loading views in the system.output event 64 Kohana::display();64 Event::run('system.shutdown'); -
trunk/system/core/Kohana.php
r651 r652 132 132 set_exception_handler(array('Kohana', 'exception_handler')); 133 133 134 // Set shutdown handler to run the 'system.shutdown' event135 register_shutdown_function(array('Event', 'run'), 'system.shutdown');136 137 134 if (function_exists('date_default_timezone_set')) 138 135 { … … 170 167 } 171 168 169 // Enable routing 170 Event::add('system.routing', array('Router', 'setup')); 171 172 // Enabel loading a Kohana instance 173 Event::add('system.execute', array('Kohana', 'instance')); 174 172 175 // Enable log writing if the log threshold is enabled 173 176 if(Config::item('log.threshold') > 0) … … 176 179 } 177 180 178 // Enable routing 179 Event::add('system.routing', array('Router', 'setup')); 180 181 // Enabel loading a Kohana instance 182 Event::add('system.execute', array('Kohana', 'instance')); 181 Event::add('system.shutdown', array('Kohana', 'display')); 183 182 184 183 // Setup is complete -
trunk/system/libraries/Calendar.php
r644 r652 61 61 } 62 62 63 Log::add('debug', 'Calendar Class Initialized');63 Log::add('debug', 'Calendar Library initialized'); 64 64 } 65 65 -
trunk/system/libraries/Database.php
r644 r652 118 118 throw new Kohana_Exception('database.driver_not_supported', 'Database drivers must use the Database_Driver interface.'); 119 119 120 Log::add('debug', 'Database Class Initialized');120 Log::add('debug', 'Database Library initialized'); 121 121 } 122 122 -
trunk/system/libraries/Encrypt.php
r644 r652 46 46 $this->mcrypt_exists = function_exists('mcrypt_encrypt'); 47 47 48 Log::add('debug', 'Encrypt Class Initialized');48 Log::add('debug', 'Encrypt Library initialized'); 49 49 } 50 50 -
trunk/system/libraries/Ftp.php
r644 r652 54 54 } 55 55 56 Log::add('debug', 'FTP Class Initialized');56 Log::add('debug', 'FTP Library initialized'); 57 57 } 58 58 -
trunk/system/libraries/Image_lib.php
r644 r652 98 98 } 99 99 100 Log::add('debug', 'Image Lib Class Initialized');100 Log::add('debug', 'Image Lib Library initialized'); 101 101 } 102 102 -
trunk/system/libraries/Input.php
r649 r652 57 57 $this->_sanitize_globals(); 58 58 59 Log::add('debug', 'Input Class Initialized');59 Log::add('debug', 'Input Library initialized'); 60 60 } 61 61 -
trunk/system/libraries/Pagination.php
r644 r652 76 76 77 77 // Initialization done 78 Log::add('debug', 'Pagination Class Initialized');78 Log::add('debug', 'Pagination Library initialized'); 79 79 } 80 80 -
trunk/system/libraries/Session.php
r651 r652 95 95 Event::add('system.output', 'session_write_close'); 96 96 97 Log::add('debug', 'Session Class Initialized');97 Log::add('debug', 'Session Library initialized'); 98 98 } 99 99 -
trunk/system/libraries/Upload.php
r648 r652 70 70 } 71 71 72 Log::add('debug', 'Upload Class Initialized');72 Log::add('debug', 'Upload Library initialized'); 73 73 } 74 74 -
trunk/system/libraries/User_agent.php
r648 r652 110 110 } 111 111 112 Log::add('debug', 'User Agent Class Initialized');112 Log::add('debug', 'User Agent Library initialized'); 113 113 } 114 114 -
trunk/system/libraries/View.php
r648 r652 63 63 } 64 64 } 65 66 Log::add('debug', 'View Class Initialized ['.str_replace(DOCROOT, '', $this->kohana_filename).']'); 65 67 } 66 68
