if we have not got a schema also look for default.css

This commit is contained in:
Mario Vavti 2015-03-06 14:56:35 +01:00
parent 83c4c5b095
commit 1cea6144c9

View File

@ -64,6 +64,7 @@ if(! $a->install) {
} }
} }
// If we haven't got a schema, load the default. We shouldn't touch this - we // 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. // should leave it for admins to define for themselves.
if (! $schema) { if (! $schema) {
@ -71,6 +72,9 @@ if(! $a->install) {
$schemefile = 'view/theme/redbasic/schema/default.php'; $schemefile = 'view/theme/redbasic/schema/default.php';
require_once ($schemefile); require_once ($schemefile);
} }
if(file_exists('view/theme/redbasic/schema/default.css')) {
$schemecss = file_get_contents('view/theme/redbasic/schema/default.css');
}
} }