mirror of
https://github.com/kleeja-official/kleeja.git
synced 2025-12-16 04:59:42 +01:00
Update style.php for PHP 8
Referencing $GLOBALS is no longer allowed.
This commit is contained in:
@@ -307,7 +307,7 @@ class kleeja_style
|
||||
{
|
||||
global $config;
|
||||
|
||||
$this->vars = &$GLOBALS;
|
||||
$this->vars = $GLOBALS;
|
||||
|
||||
//is there ?
|
||||
if (! file_exists(PATH . 'cache/tpl_' . $this->re_name_tpl($template_name, $style_path) . '.php') || ! $this->caching) {
|
||||
@@ -329,7 +329,7 @@ class kleeja_style
|
||||
*/
|
||||
public function admindisplayoption($html)
|
||||
{
|
||||
$this->vars = &$GLOBALS;
|
||||
$this->vars = $GLOBALS;
|
||||
|
||||
$eval_on = false;
|
||||
eval('$eval_on = true;');
|
||||
|
||||
Reference in New Issue
Block a user