mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
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),
|
||||
]);
|
||||
|
||||
$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();
|
||||
|
||||
return $css;
|
||||
|
@ -11,9 +11,8 @@ class DbSystemSettings extends Migration
|
||||
{
|
||||
$table->engine = 'InnoDB';
|
||||
$table->increments('id');
|
||||
$table->string('item');
|
||||
$table->text('value')->nullable();
|
||||
$table->index(['item']);
|
||||
$table->string('item')->nullable()->index();
|
||||
$table->mediumtext('value')->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user