optimized

pull/44/head
A1Gard 5 months ago
parent ecd926b9ed
commit e24fa89717

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

@ -80,7 +80,7 @@ DOC;
file_put_contents($folderPath . '/' . $part . '.json', json_encode($detail,JSON_PRETTY_PRINT)); file_put_contents($folderPath . '/' . $part . '.json', json_encode($detail,JSON_PRETTY_PRINT));
file_put_contents($folderPath . '/' . ucfirst($part) . '.php', $handler); file_put_contents($folderPath . '/' . ucfirst($part) . '.php', $handler);
file_put_contents($folderPath . '/' . $part . '.scss', $scss); file_put_contents($folderPath . '/' . $part . '.scss', $scss);
File::copy(__DIR__.'/data/screenshot.dat',$folderPath .'/screenshot.png'); File::copy(__DIR__.'/data/screen.png',$folderPath .'/screenshot.png');
$this->info(__("Theme part created successfully: [blade, js, json, scss, php, assets, screenshot]")); $this->info(__("Theme part created successfully: [blade, js, json, scss, php, assets, screenshot]"));

@ -13,5 +13,5 @@ class Setting extends Model
public $translatable = ['value']; public $translatable = ['value'];
public static $settingTypes = ['TEXT', 'LONGTEXT', 'CODE', 'EDITOR', public static $settingTypes = ['TEXT', 'LONGTEXT', 'CODE', 'EDITOR',
'CATEGORY', 'GROUP', 'CHECKBOX', 'FILE','COLOR']; 'CATEGORY', 'GROUP', 'CHECKBOX', 'FILE', 'COLOR'];
} }

Loading…
Cancel
Save