aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-06-27 20:01:52 +0000
committerMario <mario@mariovavti.com>2024-06-27 20:01:52 +0000
commit30ba0661aa591b860ee4d7e38cee0a8ad4c3ea44 (patch)
tree27b79afcb2353676f997a57e63d3995062620bbf
parent26cb32612d275bd4f44d8bdf2c9da3e6e535b1ed (diff)
downloadvolse-hubzilla-30ba0661aa591b860ee4d7e38cee0a8ad4c3ea44.tar.gz
volse-hubzilla-30ba0661aa591b860ee4d7e38cee0a8ad4c3ea44.tar.bz2
volse-hubzilla-30ba0661aa591b860ee4d7e38cee0a8ad4c3ea44.zip
fix php error
-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 = '';