From 17b9e876183568ba9da5973894960943d5aaea36 Mon Sep 17 00:00:00 2001 From: LouisGac Date: Tue, 23 Jan 2018 18:35:16 +0100 Subject: [PATCH] Fixed issue #13137: Cannot access theme editor --- application/models/TemplateManifest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/models/TemplateManifest.php b/application/models/TemplateManifest.php index 03756b4f388..ab9e4d1e3e2 100755 --- a/application/models/TemplateManifest.php +++ b/application/models/TemplateManifest.php @@ -120,7 +120,7 @@ public function getContentForScreen($sScreen) if ($file->attributes()->role == "content") { // The path of the file is defined inside the theme itself. - $aExplodedFile = explode('/', $file); + $aExplodedFile = explode(DIRECTORY_SEPARATOR, $file); $sFormatedFile = end($aExplodedFile); return (string) $sFormatedFile; }