wp-content not in /wordpress
-
When the directory ‘wp-content’ is not within the ‘wordpress’ directory, this plugin fails and comes up with errors like:
{$path} is not a valid MVC template
NGG determines the document root at {$path}/wordpress which is incorrectly for a situation i’m in. Surprisingly enough, at the file ‘class.fs.php’ this code gets executed:
$this->set_document_root($_SERVER['DOCUMENT_ROOT']);
Although DOCUMENT_ROOT cannot be trusted within virtual environments the {$path} NGG determines is still correctly pointing to my “document root” except of the ‘/wordpress’ part.
- The topic ‘wp-content not in /wordpress’ is closed to new replies.