mb_internal_encoding("UTF-8");
date_default_timezone_set('Europe/Madrid');
session_start();
if(!isset($SOURCE_LEVEL)){
$SOURCE_LEVEL = '';
}
require_once($SOURCE_LEVEL."config/global.php");
require_once($SOURCE_LEVEL."application/debug.php");
require_once($SOURCE_LEVEL."application/database.php");
require_once($SOURCE_LEVEL."application/dispatch.php");
require_once($SOURCE_LEVEL."application/model.php");
require_once($SOURCE_LEVEL."application/lang.php");
require_once($SOURCE_LEVEL."application/controller.php");
require_once($SOURCE_LEVEL."application/page.php");
require_once($SOURCE_LEVEL."application/functions.php");
require_once($SOURCE_LEVEL."application/globals.php");
require_once($SOURCE_LEVEL."application/category.php");
require_once($SOURCE_LEVEL."application/post.php");
require_once($SOURCE_LEVEL."application/media.php");
require_once($SOURCE_LEVEL."application/format.php");
$Debug = new __Debug();
//require_once("application/meta.php");
class Application {
public $Conection;
public $Database;
public $Globals;
public function __construct() {
//if( $this->Loaded!=true){
global $Debug;
global $GLOBAL;
$this->Database = new __Database;
$this->Conection = $this->Database->Conection();
if($this->Conection==false){
var_dump($Debug);
die("Application::CONNECTION ERR");
}
$Globals = new Globals();
$GLOBAL = $Globals->get_global_values($this->Conection);
//}
}
}
?>
Fatal error: Uncaught Error: Class 'Application' not found in /var/www/vhosts/legalbox.es/httpdocs/promo/index.php:28
Stack trace:
#0 {main}
thrown in /var/www/vhosts/legalbox.es/httpdocs/promo/index.php on line 28