From 8c4527cf4a291e7db105e81dc84ce6090a347e4e Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Tue, 30 Sep 2014 16:25:22 +0900 Subject: [PATCH] Fix debug log path Use the SELF var itself without running it through any pathinfo filter --- www/libs/Class.Basic.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/libs/Class.Basic.inc b/www/libs/Class.Basic.inc index 20212ed6..90393eb5 100644 --- a/www/libs/Class.Basic.inc +++ b/www/libs/Class.Basic.inc @@ -826,7 +826,7 @@ if ($strip_ext == 1) return $page_temp['filename']; elseif ($strip_ext == 2) - return $page_temp['dirname'].'/'.$page_temp['basename']; + return $_SERVER['PHP_SELF']; else return $page_temp['basename']; }