Note the U function
The project is done today. I thought we could go online. No problem, but
When I put the TP debug mode off: define(' App_debug ',false);
The page does not load completely, so it turns on: ' show_error_msg ' + true, // display error message
Because I give the HTML page name is Camel Seal method: navoperate.html But after closing the development mode after U function parsing found that the generated path is all lowercase navoperate.html
So he can't find the file navoperate.html because my view of the HTML file is navoperate.html but if you do not close the development mode U function parsing is case-sensitive correct
I found on the official network said to open his ' show_page_trace ' =>true on the line but I-style, no effect, because tomorrow will be online, so the name of the view directory unified lowercase
I thought it was okay, but.
All right, keep searching for a long time on the TP official website. You need to write the log manually
<? php namespace Admin\controller; Use Think; Use Think\controller; class extends Controller { publicfunction index () { \think\log::record (' Test log information ') );
This is the case for my project.
TP U function