I tested php locally with xampp without displaying the content. the source code is just from ftp. I have previously obtained ASP and. net. php is a rookie. who can help with Location: ins php?
I tested php locally with xampp without displaying the content. the source code is just from ftp. I have previously obtained ASP and. net. php is a rookie. Can anyone help me?
Define ("APP_DEBUG", false );
Define ('site _ path', getcwd ());
Define ('app _ name', 'shuipf ');
Define ('app _ path', SITE_PATH. '/shuipf /');
Define ("RUNTIME_PATH", SITE_PATH. "/# runtime /");
Define ('Template _ path', APP_PATH. 'Template /');
// Case-insensitive processing
Foreach (array ("g", "m") as $ v ){
If (isset ($ _ GET [$ v]) {
$ _ GET [$ v] = ucwords ($ _ GET [$ v]);
}
}
If (! File_exists (APP_PATH. 'conf/dataconfig. php ')){
Header ("Location: install /");
Exit;
}
// Load the core file of the framework
Require APP_PATH. 'core/ThinkPHP. php';>
This is the homepage code.