Files
juipphp/index.php
wanyongkang a331e3f1d5 初始提交
2020-10-03 17:23:32 +08:00

34 lines
708 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
//error_reporting( E_ALL&~E_NOTICE );
//ini_set( 'display_errors', 'on' );
header("Content-type:text/html;charset=utf-8");
//内存限制
ini_set (memory_limit, 128M) ;
//应用目录为当前目录
define('APP_PATH',__DIR__.'/');
//开启调试模式
define('APP_DEBUG',true);
//加载框架文件
require APP_PATH.'fastphp/Fastphp.php';
//加载配置文件
$config = require APP_PATH.'config/config.php';
//实例化框架类
(new fastphp\Fastphp($config))->run();
//require './Autoload.php';
//
//
//spl_autoload_register('Autoload::loadTest');
//
//$inn = new \app\Demo();
//$inn->abs(-123);
//echo '<br>';
//
//$urls = explode('/',$_SERVER['REQUEST_URI']);
//
//var_dump($urls);