123456789101112131415161718192021222324252627282930313233343536373839 |
- <?php
- /**
- * 小梦科技资源nanodreamtech.com
- *
- * ==========================================================================
- * @link https://www.nanodreamtech.com/
- * @copyright Copyright (c) 2015-2016 liofis.com.
- * @license https://www.nanodreamtech.com/license.html License
- * ==========================================================================
- *
- * @author fish
- *
- */
- if(version_compare(PHP_VERSION,'5.3.0','<')) die('require PHP > 5.3.0 !');
- header("Content-Type:text/html; charset=utf-8");
- define('APP_DEBUG', true);
- define('BIND_MODULE','Home');
-
- define ('APP_PATH', './Modules/' );
- if (!is_file( 'Modules/Common/Conf/db.php')) {
- header('Location: ./install.php');
- exit;
- }
- define('ROOT_PATH',str_replace('\\','/',dirname(__FILE__)) . '/');
- define('ATTACHMENT_ROOT', ROOT_PATH.'Uploads/image/');
- define ('RUNTIME_PATH','./Runtime/');
- require './ThinkPHP/ThinkPHP.php';
- ?>
|