Example #1
0
<?php

/**
 * Created by PhpStorm.
 * User: crazy
 * Date: 16/1/26
 * Time: 16:42
 *
 * @param theme 是否开启模板
 *        encrypt 是否开启加密传输
 */
require "./config/basic.php";
require "./core/functions.php";
$include_path = get_include_path();
$include_path .= PATH_SEPARATOR . "core/";
$include_path .= PATH_SEPARATOR . "core/controls/";
set_include_path($include_path);
function __autoload($ClassName)
{
    require "{$ClassName}.class.php";
}
//
echo Page::Run(['theme' => true])->_SetPage(10, 30)->display();