Errors when WordPress setup as a subdirectory
-
Hello,
I utilize wordpress as a subdirectory.
I found an issue with your download.php file assuming that the wp-load.php file was a few directories down.
fixed (line 3 was the issue) this replaces line 3:
require_once( $_SERVER['DOCUMENT_ROOT'] . '/wp-config.php' );
require_once(ABSPATH . "/wp-load.php");
this at least fixes the case for both standard installs and wp as a subdirectory.
- The topic ‘Errors when WordPress setup as a subdirectory’ is closed to new replies.