From 97fbfa8e9764d522af2498fd596c636519c47a40 Mon Sep 17 00:00:00 2001 From: Cameron Date: Sun, 26 May 2013 15:55:14 -0700 Subject: [PATCH] Issue #360 - path correction --- e107_handlers/e107_class.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/e107_handlers/e107_class.php b/e107_handlers/e107_class.php index 2a635c876..9bdb92b45 100644 --- a/e107_handlers/e107_class.php +++ b/e107_handlers/e107_class.php @@ -2320,12 +2320,12 @@ class e107 elseif($fname === true) // admin file. { //$fname = "admin/".e_LANGUAGE; - $fname = ($flat === true) ? e_LANGUAGE."_admin" : "admin/".e_LANGUAGE; + $fname = e_LANGUAGE."_admin"; } else { // $fname = e_LANGUAGE; - $fname = ($flat === true) ? e_LANGUAGE."_front" : e_LANGUAGE; + $fname = e_LANGUAGE."_front"; } if($flat === true && is_dir(e_PLUGIN.$plugin."/languages/".e_LANGUAGE)) // support for alt_auth/languages/English/English_log.php etc. @@ -2337,7 +2337,6 @@ class e107 $path = e_PLUGIN.$plugin.'/languages/'.$fname.'.php'; } - echo "
".$path; if(E107_DBG_INCLUDES) { e107::getMessage()->addDebug("Attempting to Load: ".$path);