Permalink
Browse files

Edited libfructose/libfructose.php via GitHub

  • Loading branch information...
1 parent ac81a17 commit 26332efdd9be11660d61b7455959ddeda50e1de3 @charliesome committed May 16, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 libfructose/libfructose.php
View
2 libfructose/libfructose.php
@@ -162,7 +162,7 @@ public function F_require($block, $str)
foreach(array('%s','%s.php','%s.fruc.php','lib/%s','lib/%s.php','lib/%s.fruc.php') as $pathfmt)
{
$p = sprintf($pathfmt, $path);
- if(@file_get_contents($p) !== FALSE)
+ if(@file_get_contents($p, FILE_USE_INCLUDE_PATH) !== FALSE)
{
require_once $p;
return new F_TrueClass;

0 comments on commit 26332ef

Please sign in to comment.