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

Commit

Permalink
[GH-1] Fix auto_prepend_file include_path not taking into account for…
Browse files Browse the repository at this point in the history
… overwrite.
  • Loading branch information
beberlei committed May 21, 2015
1 parent f4f9f83 commit 883c15b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/Tideways/Profiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
*/
class Profiler
{
const VERSION = '1.6.5';
const VERSION = '1.6.6';

const EXT_FATAL = 1;
const EXT_LAYERS = 2;
Expand Down Expand Up @@ -809,7 +809,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"));
ini_get("auto_prepend_file") &&
file_exists(stream_resolve_include_path(ini_get("auto_prepend_file")));
}
}

0 comments on commit 883c15b

Please sign in to comment.