Skip to content

Commit

Permalink
Fixed issue #13137: Cannot access theme editor
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed Jan 23, 2018
1 parent 24b13bb commit 17b9e87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/models/TemplateManifest.php
Expand Up @@ -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;
}
Expand Down

0 comments on commit 17b9e87

Please sign in to comment.