You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to be able to run WikiDocs ad-hoc without setting up Apache/NGINX just using PHP's inbuilt web server: php -s localhost:8080 -t WikiDocs/
I fixed it by placing the following code into config.inc.php
if (!isset($_GET['doc'])) {
$_GET['doc']=ltrim($_SERVER['PATH_INFO'],"/");
}
Please consider it to make it part of WikiDocs. It may be very helpful to have some apps that are able to spin up PHP inbuilt server to provide users with WIKI.
Is your feature request related to a problem? (optional)
The WikiDocs seems to unnecessarily rely on rewriting using Apache/NGINX to set the $_GET['doc'] request variable.
Screenshots (optional)
No response
Extra fields
I'd like to work on this feature
The text was updated successfully, but these errors were encountered:
Describe the feature
I would like to be able to run WikiDocs ad-hoc without setting up Apache/NGINX just using PHP's inbuilt web server:
php -s localhost:8080 -t WikiDocs/
I fixed it by placing the following code into
config.inc.php
Please consider it to make it part of WikiDocs. It may be very helpful to have some apps that are able to spin up PHP inbuilt server to provide users with WIKI.
Is your feature request related to a problem? (optional)
The WikiDocs seems to unnecessarily rely on rewriting using Apache/NGINX to set the $_GET['doc'] request variable.
Screenshots (optional)
No response
Extra fields
The text was updated successfully, but these errors were encountered: