ThinkPHP3.2.3 source code analysis
Defined ('THINK_PATH') or define (' THINK_PATH',__DIR__.'/')
If the constant is not defined, define the constant
Magic_quotes_runtime
The system automatically adds backslash escape characters
Define ('IS_CGI', (0 = strpos (PHP_SAPI,'cgi') | | false! = = strpos (PHP_SAPI,'fcgi'))? 1: 0); / / determine whether it is CGI mode define (' IS_WIN',strstr (PHP_OS, 'WIN')? 1: 0); / / determine whether it is windows system define (' IS_CLI',PHP_SAPI=='cli'? 1: 0); / / determine whether it is running in command line mode