Be more specific about pathing, minor improvement to system settings table
This commit is contained in:
parent
fff64a30a7
commit
2689a3e669
|
|
@ -83,7 +83,7 @@ class BrandSettings extends Model
|
||||||
'secondary-color-dark' => self::get('secondary_color_dark', self::SECONDARY_DARK),
|
'secondary-color-dark' => self::get('secondary_color_dark', self::SECONDARY_DARK),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$parser->parse(File::get(__DIR__.'/brandsettings/custom.less').self::get('custom_css'));
|
$parser->parse(File::get(PATH_BASE.'/modules/backend/models/brandsettings/custom.less').self::get('custom_css'));
|
||||||
$css = $parser->getCss();
|
$css = $parser->getCss();
|
||||||
|
|
||||||
return $css;
|
return $css;
|
||||||
|
|
|
||||||
|
|
@ -11,9 +11,8 @@ class DbSystemSettings extends Migration
|
||||||
{
|
{
|
||||||
$table->engine = 'InnoDB';
|
$table->engine = 'InnoDB';
|
||||||
$table->increments('id');
|
$table->increments('id');
|
||||||
$table->string('item');
|
$table->string('item')->nullable()->index();
|
||||||
$table->text('value')->nullable();
|
$table->mediumtext('value')->nullable();
|
||||||
$table->index(['item']);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue