add qr-codes, share button, and pwa config toggle
This commit is contained in:
@ -194,12 +194,12 @@ class Install extends Controller {
|
||||
*/
|
||||
public function configure() {
|
||||
if ( Forms::Check( 'installConfigure' ) ) {
|
||||
$logo = $baseConfig['main']['template']['default'];
|
||||
TheTempusProject::$activeConfig->load( BEDROCK_CONFIG_JSON );
|
||||
$baseConfig = TheTempusProject::$configMatrix;
|
||||
$logo = $baseConfig['main']['logo']['default'];
|
||||
if ( Input::exists( 'logo' ) && Upload::image( 'logo', 'System' ) ) {
|
||||
$logo = 'Uploads/Images/System/' . Upload::last();
|
||||
}
|
||||
TheTempusProject::$activeConfig->load( BEDROCK_CONFIG_JSON );
|
||||
$baseConfig = TheTempusProject::$configMatrix;
|
||||
$baseConfig['main']['logo']['value'] = $logo;
|
||||
$baseConfig['main']['name']['value'] = Input::postNull( 'siteName' );
|
||||
$baseConfig['database']['dbEnabled']['value'] = $baseConfig['database']['dbEnabled']['default'];
|
||||
|
Reference in New Issue
Block a user