php - TP3.2 problem with registering namespace
给我你的怀抱
给我你的怀抱 2017-06-05 11:07:55
0
1
641

There is a CodeBase directory at the same level as the index.php entry file. I set it as follows in the configuration file:
PHP code

'AUTOLOAD_NAMESPACE' => array(
    'Codebase'    => './CodeBase',
)

Setting 'Codebase' => __ROOT__.'/CodeBase' also doesn't work

How should I write this path? I can’t find the response constant, and ./ doesn’t work either. Thank you

给我你的怀抱
给我你的怀抱

reply all(1)
曾经蜡笔没有小新

__DIR__Try it

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!