Move config into secret folder
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
$config = json_decode(file_get_contents("/var/www/usergen/config.json", true));
|
||||
$config = json_decode(file_get_contents("/var/www/usergen/secret/config.json", true));
|
||||
ini_set('display_errors', 1);
|
||||
ini_set('display_startup_errors', 1);
|
||||
error_reporting(E_ALL);
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
// Create an account and apply SSH key
|
||||
$config = json_decode(file_get_contents("/var/www/usergen/config.json", true));
|
||||
$config = json_decode(file_get_contents("/var/www/usergen/secret/config.json", true));
|
||||
|
||||
function checkParameters($parameterArray){
|
||||
$error = false;
|
||||
@@ -75,4 +75,4 @@ if($UserGenCode != "0"){
|
||||
}
|
||||
success();
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user