fixing PHP 8.1 errors
Dieser Commit ist enthalten in:
Ursprung
4b8c93b9ee
Commit
4ff23df02e
|
@ -17,3 +17,4 @@
|
|||
/cms/dflip/
|
||||
/cms/js/firstlevel/
|
||||
/conlite/external/**/.git
|
||||
/dievino/
|
||||
|
|
|
@ -134,10 +134,10 @@ class DB_Sql extends DB_Sql_Abstract {
|
|||
);
|
||||
|
||||
|
||||
if (isset($aCon['charset'])) {
|
||||
@mysqli_set_charset($dbh, $aCon['charset']);
|
||||
if (!empty($aCon['charset'])) {
|
||||
mysqli_set_charset($dbh, $aCon['charset']);
|
||||
} else {
|
||||
@mysqli_set_charset($dbh, 'utf8');
|
||||
mysqli_set_charset($dbh, 'utf8');
|
||||
}
|
||||
|
||||
//echo mysqli_character_set_name($dbh);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
auxiliary.org-netbeans-modules-php-smarty.smarty-framework=true
|
||||
include.path=${php.global.include.path}
|
||||
php.version=PHP_73
|
||||
php.version=PHP_80
|
||||
source.encoding=UTF-8
|
||||
src.dir=.
|
||||
tags.asp=false
|
||||
|
|
|
@ -513,7 +513,8 @@ abstract class HTML_Common2 implements ArrayAccess
|
|||
* @return boolean Returns true on success or false on failure.
|
||||
* @link http://php.net/manual/en/arrayaccess.offsetexists.php
|
||||
*/
|
||||
public function offsetExists($offset)
|
||||
#[ReturnTypeWillChange]
|
||||
public function offsetExists($offset)
|
||||
{
|
||||
return isset($this->attributes[strtolower($offset)]);
|
||||
}
|
||||
|
@ -527,6 +528,7 @@ abstract class HTML_Common2 implements ArrayAccess
|
|||
* @link http://php.net/manual/en/arrayaccess.offsetget.php
|
||||
* @see getAttribute()
|
||||
*/
|
||||
#[ReturnTypeWillChange]
|
||||
public function offsetGet($offset)
|
||||
{
|
||||
return $this->getAttribute($offset);
|
||||
|
@ -542,6 +544,7 @@ abstract class HTML_Common2 implements ArrayAccess
|
|||
* @link http://php.net/manual/en/arrayaccess.offsetset.php
|
||||
* @see setAttribute()
|
||||
*/
|
||||
#[ReturnTypeWillChange]
|
||||
public function offsetSet($offset, $value)
|
||||
{
|
||||
if (null !== $offset) {
|
||||
|
@ -561,6 +564,7 @@ abstract class HTML_Common2 implements ArrayAccess
|
|||
* @link http://php.net/manual/en/arrayaccess.offsetunset.php
|
||||
* @see removeAttribute
|
||||
*/
|
||||
#[ReturnTypeWillChange]
|
||||
public function offsetUnset($offset)
|
||||
{
|
||||
$this->removeAttribute($offset);
|
||||
|
|
|
@ -37,6 +37,6 @@ define('C_SETUP_STEPFILE', 'images/steps/s%d.png');
|
|||
define('C_SETUP_STEPFILE_ACTIVE', 'images/steps/s%da.png');
|
||||
define('C_SETUP_STEPWIDTH', 28);
|
||||
define('C_SETUP_STEPHEIGHT', 28);
|
||||
define('C_SETUP_MIN_PHP_VERSION', '7.2.0');
|
||||
define('C_SETUP_MAX_PHP_VERSION', '8.1.0');
|
||||
define('C_SETUP_MIN_PHP_VERSION', '7.4.0');
|
||||
define('C_SETUP_MAX_PHP_VERSION', '8.2.0');
|
||||
define('C_SETUP_VERSION', '2.2.0 beta');
|
|
@ -31,6 +31,8 @@ if (!defined('CON_FRAMEWORK')) {
|
|||
die('Illegal call');
|
||||
}
|
||||
|
||||
//print_r($_SESSION);
|
||||
|
||||
class cSetupSetupSummary extends cSetupMask {
|
||||
|
||||
public function __construct($step, $previous, $next) {
|
||||
|
|
Laden…
In neuem Issue referenzieren