aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Zotlabs/Module/Setup.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/Zotlabs/Module/Setup.php b/Zotlabs/Module/Setup.php
index 7ca3f827c..35079e5e5 100644
--- a/Zotlabs/Module/Setup.php
+++ b/Zotlabs/Module/Setup.php
@@ -58,7 +58,7 @@ class Setup extends \Zotlabs\Web\Controller {
*/
function post() {
- switch($this->install_wizard_pass) {
+ switch(self::$install_wizard_pass) {
case 1:
case 2:
return;
@@ -180,18 +180,18 @@ class Setup extends \Zotlabs\Web\Controller {
$install_title = t('$Projectname Server - Setup');
if(x(\App::$data, 'db_conn_failed')) {
- $this->install_wizard_pass = 2;
+ self::$install_wizard_pass = 2;
$wizard_status = t('Could not connect to database.');
}
if(x(\App::$data, 'url_fail')) {
- $this->install_wizard_pass = 3;
+ self::$install_wizard_pass = 3;
$wizard_status = t('Could not connect to specified site URL. Possible SSL certificate or DNS issue.');
if(\App::$data['url_error'])
$wizard_status .= ' ' . \App::$data['url_error'];
}
if(x(\App::$data, 'db_create_failed')) {
- $this->install_wizard_pass = 2;
+ self::$install_wizard_pass = 2;
$wizard_status = t('Could not create table.');
}
$db_return_text = '';