Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

Commit

Permalink
Avoid unnecessary filestat operation.
Browse files Browse the repository at this point in the history
  • Loading branch information
beberlei committed Mar 30, 2015
1 parent 0dafb83 commit cf18308
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/Tideways/Profiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -841,6 +841,7 @@ private static function requiresDelegateToOriginalPrependFile()
{
return ini_get('tideways.auto_prepend_library') &&
tideways_prepend_overwritten() &&
ini_get("auto_prepend_file") != "" &&
file_exists(ini_get("auto_prepend_file"));
}
}

0 comments on commit cf18308

Please sign in to comment.