Skip to content

Commit

Permalink
Fixing a php strict mode warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabrice Luraine committed May 15, 2010
1 parent 62a1081 commit 7c4396b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/limonade.php
Expand Up @@ -521,7 +521,8 @@ function app_file()
static $file;
if(empty($file))
{
$stacktrace = array_pop(debug_backtrace());
$debug_backtrace = debug_backtrace();
$stacktrace = array_pop($debug_backtrace);
$file = $stacktrace['file'];
}
return file_path($file);
Expand Down

0 comments on commit 7c4396b

Please sign in to comment.