ver 0.250: migrate settings to form-edit and cleanup legacy settings classes
This commit is contained in:
@@ -214,8 +214,10 @@ class Site
|
||||
);
|
||||
},
|
||||
'Settings' => function() {
|
||||
global $mdb;
|
||||
|
||||
return new \admin\Controllers\SettingsController(
|
||||
new \Domain\Settings\SettingsRepository()
|
||||
new \Domain\Settings\SettingsRepository( $mdb )
|
||||
);
|
||||
},
|
||||
'ProductArchive' => function() {
|
||||
|
||||
Reference in New Issue
Block a user