Configuration: 'view_path' => '. \ View \\'
error message: The template file does not exist:. \ View \ index \ index.html
template file actually is there, tried, only to write the absolute path to find the correct template file
return $ this-> fetch ( 'D : / Program files / php / Apache24 / htdocs / match / application / view / index / index.html');
template path splicing problem, the configuration to 'view_path' => ' ../application/view/ 'on it.
In addition Tested, view_path use / or \ can be.
tp5- template file does not exist
Guess you like
Origin www.cnblogs.com/linqingvoe/p/11008980.html
Ranking