-3
I’m building a CMS and I have 2 files:
- the index.php
- index.php (which is housed in the themes/original folder).
You can make the browser load the index.php file (in the themes/original folder) before loading index.php?
-3
I’m building a CMS and I have 2 files:
You can make the browser load the index.php file (in the themes/original folder) before loading index.php?
0
If you just want to load the content or run some script that is in themes/original/index.php, use include_once('themes/original/index.php);
Follows documentation of the method: https://www.php.net/manual/en/function.include-once.php
-2
You can set a rule in the file .htaccess
of your server
Example:
DirectoryIndex themes/original/index.php
Browser other questions tagged php html server
You are not signed in. Login or sign up in order to post.