Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dp committed Mar 26, 2015
1 parent 8f86514 commit 04259e2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Source/Ice/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,10 @@ public static function run()
App::getResponse()->send();

if (!Environment::getInstance()->isProduction()) {
Logger::renderLog();
Profiler::setPoint(__CLASS__, $startTime,$startMemory);

Profiler::setTiming(__CLASS__, $startTime);
Profiler::setMemoryUsages(__CLASS__, $startMemory);
Profiler::getReport();
Logger::getInstance(__CLASS__)->info(Profiler::getReport(__CLASS__), Logger::INFO, false);
Logger::renderLog();
}

if (!Request::isCli() && function_exists('fastcgi_finish_request')) {
Expand Down

0 comments on commit 04259e2

Please sign in to comment.