Changeset 202 for trunk/lib/App.inc.php
- Timestamp:
- Jul 13, 2006 11:24:01 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/App.inc.php
r201 r202 345 345 } 346 346 $this->timer->stop('_app'); 347 $this->logMsg(sprintf('Script ended gracefully. Execution time: %s. Number of db queries: %s.', $this->timer->getTime('_app'), $num_queries), LOG_ INFO, __FILE__, __LINE__);347 $this->logMsg(sprintf('Script ended gracefully. Execution time: %s. Number of db queries: %s.', $this->timer->getTime('_app'), $num_queries), LOG_DEBUG, __FILE__, __LINE__); 348 348 } 349 349 … … 824 824 $url = $this->url($url, $carry_args, $always_include_sid); 825 825 826 // Should we send a "303 See Other" header here instead of relying on the 302 sent automatically by PHP? 826 827 header(sprintf('Location: %s', $url)); 827 828 $this->logMsg(sprintf('dieURL: %s', $url), LOG_DEBUG, __FILE__, __LINE__); 828 829 829 // End thisapplication.830 // End application. 830 831 // Recommended, although I'm not sure it's necessary: http://cn2.php.net/session_write_close 831 832 $this->stop();
Note: See TracChangeset
for help on using the changeset viewer.