![]() ![]() more glue holding the string variables together Note: an exploded "/moo/index.php" string would have locations & values of = "", = "moo", and = "index.php" - The location of the string we want to keep within the exploded array.$_SERVER - The string we're exploding, which contains the pieces of the address following the root.explode("/",*string*) - explode breaks the string into pieces around each "/".$_SERVER - This is the directory for your site.The new solution has the following pieces: You need the equivalent of _DIR_, but _DIR_ doesn't respect symbolic links, and dirname($_SERVER) works with relative links, which means it breaks things when called from the config sub-folder. Replace it with $IP = $_SERVER.explode("/", $_SERVER)."/".Open that Includes/WebStart.php file once more.If your new wiki is installed in a sub-directory of the root directory for your website, the following should work: The above solution breaks the web-installation guide for a new wiki. ![]() htaccess redirects to non-existent folders
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |