ThinkPHP3.0 is an invalid solution for path access after grouping! After using the group in ThinkPHP3.0, the following solutions cannot be accessed according to the manual path :? Check whether the config. php file exists in the Conf Directory. due to group reasons, the config. php file is often put into various group folders, while the config. php file of the Conf file is ignored .? If there is a public config? The solution to the invalid path access after the ThinkPHP3.0 file is used by the group!
After using the group in ThinkPHP3.0, you cannot access the group according to the manual path:
?
Check whether the config. php file exists in the Conf Directory. for group reasons, the config. php file is usually put in the folders of each group, while the config. php file of the Conf file is ignored.
?
If there is a public config? All the config. php files must be inherited. for example:
?
$ Config = require './config. inc. php ';? // Note the directory structure. the configuration file is under the root directory of the website and is the same as the entry file.
?
After modification, clear the Runtime directory and try again...
?
Manual description structure:
?
?
Home Group: Conf/Home/config. php
Admin group: Conf/Admin/config. php
Public configuration: Conf/config. php --- must exist