fixes
This commit is contained in:
@@ -1,4 +1,12 @@
|
||||
<?php
|
||||
if(isset($_POST['auth'])){
|
||||
if($_POST['auth'] == getenv('ADMIN_ACTION_KEY')){
|
||||
populateDB();
|
||||
}
|
||||
}else{
|
||||
echol('you have no authorization to do that');
|
||||
}
|
||||
|
||||
function populateDB(){
|
||||
try{
|
||||
if(getenv("SQL_CREDENTIALS") !== false){
|
||||
|
||||
Reference in New Issue
Block a user