mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
Merge pull request #229 from ctx2002/patch-1
BUG Fix Subsite module does not picks up themes
This commit is contained in:
commit
c15491c8c5
@ -700,8 +700,8 @@ class Subsite extends DataObject
|
||||
return ArrayLib::valuekey($themes);
|
||||
} else {
|
||||
$themes = array();
|
||||
if (is_dir('../themes/')) {
|
||||
foreach (scandir('../themes/') as $theme) {
|
||||
if (is_dir(THEMES_PATH)) {
|
||||
foreach (scandir(THEMES_PATH) as $theme) {
|
||||
if ($theme[0] == '.') {
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user