<?php mb_internal_encoding('UTF-8'); require_once 'userlib/config.php'; require_once LIBPATH . 'execute.php'; require_once LIBPATH . 'view.php'; require_once LIBPATH . 'data.php'; // インスタンスの作成 $execute = new execute(); // main関数の実行 $execute->main();
<?php //-+---------------------------------------------------------------------------------------------+ // A Simple and Innovative PHP Framework about Foreign Trade E-commerce @2015-07-01 Version 1.0 // 一个简单和创新的PHP框架,为外贸电子商务开发, 始于中国共产党建党日,7月1日,版本1.0 //-+---------------------------------------------------------------------------------------------+ // Update from/更新地址@https://github.com/HollenMok/pandoraf_v1.0 //-+---------------------------------------------------------------------------------------------+ // Display on/项目效果展示地址 @http://www.pandoraf.com //-+---------------------------------------------------------------------------------------------+ // Apache License/开源许可协议 @http://www.apache.org/licenses/LICENSE-2.0 //-+---------------------------------------------------------------------------------------------+ // Document support multi-language, aim to invite people worldwide join this project // 文档目标是支持多语言,让全世界的人有机会了解并参加设计这个项目,目前只支持中文与英语。 //-+---------------------------------------------------------------------------------------------+ //eg. url request=www.pandoraf.com/index.php?com=account&t=login&email=461836320@qq.com&pwd=pf1688 $controller = $_GET['com']; $task = $_GET['t']; require './pf_core/execute.php'; $execute = new execute(); $execute->controller = $controller; $execute->task = $task; $execute->display();
//后台模板资源目录 abr('domain', DOMAIN); abr("root_path", ROOT_PATH); abr("data_server", $config['data_server']); abr("template_data", $config['template_data']); abr("template_data_path", $config['template_data_path']); abr("template_path", $config['template_path']); abr("admin_template_data", $config['admin_template_data']); abr("admin_template_data_path", $config['admin_template_data_path']); abr("admin_template_path", $config['admin_template_path']); #END; /** * 执行时间 php debug */ if (check_debug()) { $execute = new execute(); $execute->start(1); /* * Debug container */ $debug = '<B>Debug container:</B><BR />'; } #END; /* * CACHE */ $cache = new cache(); $cache->cacheDir = CACHE; global $cache; /* * SESSION