Fix linting

This commit is contained in:
Nigel Sheldon 2020-11-21 15:51:56 +01:00
commit 1614145b18
262 changed files with 45324 additions and 42695 deletions

View file

@ -1,27 +1,29 @@
<?php
if(!defined('ONYX')) exit;
if (!defined('ONYX')) {
exit;
}
define('SMARTY_DIR',ONYX.'modules/templates/smarty/');
define('SMARTY_DIR', ONYX.'modules/templates/smarty/');
require_once(SMARTY_DIR."Smarty.class.php");
define('_TEMPLATE_DIR',ONYX.'tpl/'.$OPT['tpl'].'/');
define('_TEMPLATE_COMPILE',ONYX.$OPT['compile']);
define('_TEMPLATE_CONFIG',ONYX.$OPT['config']);
define('_TEMPLATE_CACHE',ONYX.$OPT['cache']);
define('_TEMPLATE_DIR', ONYX.'tpl/'.$OPT['tpl'].'/');
define('_TEMPLATE_COMPILE', ONYX.$OPT['compile']);
define('_TEMPLATE_CONFIG', ONYX.$OPT['config']);
define('_TEMPLATE_CACHE', ONYX.$OPT['cache']);
class Template extends Smarty
{
var $template_dir = _TEMPLATE_DIR;
var $compile_dir = _TEMPLATE_COMPILE;
var $config_dir = _TEMPLATE_CONFIG;
var $cache_dir = _TEMPLATE_CACHE;
{
public $template_dir = _TEMPLATE_DIR;
public $compile_dir = _TEMPLATE_COMPILE;
public $config_dir = _TEMPLATE_CONFIG;
public $cache_dir = _TEMPLATE_CACHE;
var $compile_check = false;
var $force_compile = true;
function set_template($i = null) {}
}
?>
public $compile_check = false;
public $force_compile = true;
public function set_template($i = null)
{
}
}