tp5 index頁面

位置:首頁 / 新聞中心 / 知識教程

知識教程 Admin 2024-02-18 10:04:38 675

<?php

namespace think;


require __DIR__ . '/../thinkphp/base.php';


define('DS', DIRECTORY_SEPARATOR);

defined('THINK_PATH') or define('THINK_PATH', __DIR__ . DS);

define('LIB_PATH', THINK_PATH . 'library' . DS);

define('CORE_PATH', LIB_PATH . 'think' . DS);

define('TRAIT_PATH', LIB_PATH . 'traits' . DS);

defined('APP_PATH') or define('APP_PATH', dirname($_SERVER['SCRIPT_FILENAME']) . DS);

defined('ROOT_PATH') or define('ROOT_PATH', dirname(realpath(APP_PATH)) . DS);


Container::get('app')->run()->send();


以上就是“tp5 index頁面”的詳細內(nèi)容,更多請關注木子天禾科技其它相關文章!

15934152105 掃描微信