Dev-Umgebung: Kompatibilität für PHP 8.3 + Smarty 4.5.6
- Smarty 4.1.1 → 4.5.6 (behebt dynamic property deprecations) - Core-Klassen: #[\AllowDynamicProperties] für Admin_role, base, Config, Customer, Customer_group, CustomerGroups, Item, Structure, website - website.class.php: counts[parent_id] initialisieren vor ++ (PHP 8.1) - layout.class.php: HTTP_ACCEPT_LANGUAGE mit isset-Guard - website_init.php: session_status()-Check vor session_start - .htaccess: HTTPS-Redirect via X-Forwarded-Proto (statt SERVER_PORT) - themes/easyshop_advanced/media/: Parent-Theme-Assets nachgezogen - .gitignore: smarty.4.1.1.bak ausschließen
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
|
||||
include_once './core/main.class.php';
|
||||
|
||||
#[\AllowDynamicProperties]
|
||||
class Admin_role extends Main {
|
||||
|
||||
public $list_table_config = array (
|
||||
|
||||
@@ -16,6 +16,7 @@ include_once './core/customer.class.php';
|
||||
include_once './core/customer_group.class.php';
|
||||
include_once './core/admin_role.class.php';
|
||||
|
||||
#[\AllowDynamicProperties]
|
||||
class base {
|
||||
|
||||
public $logger;
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
include_once './core/logger.class.php';
|
||||
include_once './core/main.class.php';
|
||||
|
||||
#[\AllowDynamicProperties]
|
||||
class Config extends Main {
|
||||
|
||||
protected $base_object;
|
||||
|
||||
@@ -16,6 +16,7 @@ include_once './core/cs_ticket.class.php';
|
||||
include_once './core/customergroups.class.php';
|
||||
include_once './core/main.class.php';
|
||||
|
||||
#[\AllowDynamicProperties]
|
||||
class Customer extends Main {
|
||||
|
||||
protected $base_object;
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
|
||||
include_once './core/main.class.php';
|
||||
|
||||
#[\AllowDynamicProperties]
|
||||
class Customer_group extends Main {
|
||||
|
||||
protected $base_object;
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
* Carteasy is a web shop system
|
||||
*/
|
||||
|
||||
#[\AllowDynamicProperties]
|
||||
class CustomerGroups {
|
||||
|
||||
private $table_fields = array(
|
||||
|
||||
@@ -19,6 +19,7 @@ include_once './core/customer_group.class.php';
|
||||
include_once './core/itemschema.class.php';
|
||||
include_once './core/structure.class.php';
|
||||
|
||||
#[\AllowDynamicProperties]
|
||||
class Item extends Main {
|
||||
|
||||
public $list_table_config = array(
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
* Carteasy is a web shop system
|
||||
*/
|
||||
|
||||
#[\AllowDynamicProperties]
|
||||
class Structure extends Main {
|
||||
|
||||
protected $base_object;
|
||||
|
||||
@@ -13,6 +13,7 @@ include_once './core/manufacturer.class.php';
|
||||
include_once './core/shoppingcart.class.php';
|
||||
include_once './core/memory.class.php';
|
||||
|
||||
#[\AllowDynamicProperties]
|
||||
class website {
|
||||
|
||||
private $db;
|
||||
|
||||
Reference in New Issue
Block a user