first commit

This commit is contained in:
aschwarz
2022-11-28 10:27:30 +01:00
commit 9015dd2102
2720 changed files with 605111 additions and 0 deletions

View File

@ -0,0 +1,19 @@
<?php
date_default_timezone_set("Europe/Berlin");
set_include_path( get_include_path().PATH_SEPARATOR.'./lib');
require_once('lib/smarty/libs/Smarty.class.php');
if(!defined('REQUIRED_SMARTY_DIR')) define('REQUIRED_SMARTY_DIR','./');
class SmartyAdmin extends Smarty{
function __construct(){
$this->Smarty();
$this->template_dir = REQUIRED_SMARTY_DIR.'templates';
$this->compile_dir = REQUIRED_SMARTY_DIR.'templates_c';
$this->config_dir = REQUIRED_SMARTY_DIR.'config';
$this->cache_dir = REQUIRED_SMARTY_DIR.'cache';
}
}
?>

View File

@ -0,0 +1,18 @@
<?php
date_default_timezone_set("Europe/Berlin");
set_include_path( get_include_path().PATH_SEPARATOR.'./lib');
require_once('../lib/smarty/libs/Smarty.class.php');
if(!defined('REQUIRED_SMARTY_DIR')) define('REQUIRED_SMARTY_DIR','./');
class SmartyAdmin extends Smarty{
public function __construct(){
parent::__construct(); // this must be called
$this->template_dir = REQUIRED_SMARTY_DIR.'../templates';
$this->compile_dir = REQUIRED_SMARTY_DIR.'../templates_c';
$this->config_dir = REQUIRED_SMARTY_DIR.'../config';
$this->cache_dir = REQUIRED_SMARTY_DIR.'../cache';
}
}
?>