Apply PHP Code Beautifier on source code for linter automatic fixes
This commit is contained in:
parent
e09bb93e18
commit
53054b2bf6
87 changed files with 408 additions and 336 deletions
application/render
|
@ -23,10 +23,10 @@ class ThemeUtils
|
|||
public static function getThemes($tplDir)
|
||||
{
|
||||
$tplDir = rtrim($tplDir, '/');
|
||||
$allTheme = glob($tplDir.'/*', GLOB_ONLYDIR);
|
||||
$allTheme = glob($tplDir . '/*', GLOB_ONLYDIR);
|
||||
$themes = [];
|
||||
foreach ($allTheme as $value) {
|
||||
$themes[] = str_replace($tplDir.'/', '', $value);
|
||||
$themes[] = str_replace($tplDir . '/', '', $value);
|
||||
}
|
||||
|
||||
return $themes;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue