mirror of
https://github.com/ShaYmez/FreeSTAR-Status-Engine.git
synced 2026-06-01 21:54:48 -04:00
Create create-htaccess.php (#108)
* Create create-htaccess.php This file generates a .htaccess file that contains all necessary code for it. This is needed because some hosts do not either unzip hidden files or neither GitHub puts that file inside the zips. * Delete .htaccess * Add required code for creating htaccess * Add support for both iis and apache * Delete web.config * Rename create-htaccess.php to create-server-config.php * Rename file links for create-server-config.php * Last nitpick :)
This commit is contained in:
committed by
GitHub
parent
7362c857b0
commit
484bbd60d0
+2
-1
@@ -132,7 +132,8 @@ if(isset($_POST['server']) && empty($message))
|
||||
$config = str_replace("##policy_url##", $policy_url_conf, $config);
|
||||
file_put_contents("config.php", $config);
|
||||
|
||||
|
||||
include_once "create-server-config.php";
|
||||
unlink("create-server-config.php");
|
||||
unlink("config.php.template");
|
||||
unlink("install.sql");
|
||||
unlink(__FILE__);
|
||||
|
||||
Reference in New Issue
Block a user