if we have not got a schema also look for default.css
This commit is contained in:
parent
83c4c5b095
commit
1cea6144c9
@ -64,14 +64,18 @@ if(! $a->install) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
// If we haven't got a schema, load the default. We shouldn't touch this - we
|
|
||||||
// should leave it for admins to define for themselves.
|
// If we haven't got a schema, load the default. We shouldn't touch this - we
|
||||||
if (! $schema) {
|
// should leave it for admins to define for themselves.
|
||||||
if(file_exists('view/theme/redbasic/schema/default.php')) {
|
if (! $schema) {
|
||||||
$schemefile = 'view/theme/redbasic/schema/default.php';
|
if(file_exists('view/theme/redbasic/schema/default.php')) {
|
||||||
require_once ($schemefile);
|
$schemefile = 'view/theme/redbasic/schema/default.php';
|
||||||
}
|
require_once ($schemefile);
|
||||||
}
|
}
|
||||||
|
if(file_exists('view/theme/redbasic/schema/default.css')) {
|
||||||
|
$schemecss = file_get_contents('view/theme/redbasic/schema/default.css');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//Set some defaults - we have to do this after pulling owner settings, and we have to check for each setting
|
//Set some defaults - we have to do this after pulling owner settings, and we have to check for each setting
|
||||||
|
Reference in New Issue
Block a user