crytoteam/public_html/include/base.php

17 lines
287 B
PHP
Raw Normal View History

2013-01-16 05:07:38 +01:00
<?php
$_CPHP = true;
$_CPHP_CONFIG = "../config.json";
require("cphp/base.php");
$_APP = true;
require("constants.php");
2013-01-16 05:07:38 +01:00
function __autoload($class_name)
{
global $_APP;
$class_name = str_replace("\\", "/", strtolower($class_name));
require_once("classes/{$class_name}.php");
}