From d125f2beea7f2a0bde34bcffae817bc9b61a4898 Mon Sep 17 00:00:00 2001 From: genuineparts Date: Sun, 22 Jun 2025 15:20:04 +0200 Subject: [PATCH] Fixes --- install/install.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/install/install.php b/install/install.php index 3d3d62d..0a1f0f8 100755 --- a/install/install.php +++ b/install/install.php @@ -229,13 +229,13 @@ class install{ function checkphp(){ $status=true; - $version=version_compare(PHP_VERSION, '5.0.5', '>='); + $version=version_compare(PHP_VERSION, '8.1.0', '>='); $color='green'; if(!$version){ $status=false; $color='red'; } - $this->checkphp[]=array('name'=>'PHP','success'=>$color,'status'=>PHP_VERSION,'needed'=>'5.0.5'); + $this->checkphp[]=array('name'=>'PHP','success'=>$color,'status'=>PHP_VERSION,'needed'=>'8.1.0'); $gd = @gd_info(); $color='green'; if(!$gd){ @@ -456,8 +456,9 @@ class install{ $globcheck=false; $dbs='
'.$this->t->_('dbsnichtok'); } + $dbas = ""; foreach($this->dbas as $d){ - if(!$dbas) + if(empty($dbas)) $dbas=$d['name']; else $dbas.=' ,'.$d['name']; @@ -523,6 +524,7 @@ $config[\'prefix\']=\''.$prefix.'\'; // your Database Sytem $config[\'db_class\']= \''.$driver.'\'; ?>'; + define('DEBUG', FALSE); include dirname(__FILE__, 2) .'/inc/logger.class.php'; include dirname(__FILE__, 2) .'/core/database/'.$driver.'.class.php'; try{ @@ -607,7 +609,7 @@ define(\'DEBUG\', FALSE); header("Location: install.php?step=user"); } if($pdata['dbprefix']==''){ - $pdata['dbprefix']='as_'; + $pdata['dbprefix']='bcwe_'; } if($pdata['dbserv']==''){ $pdata['dbserv']='localhost';