initial upload
This commit is contained in:
10
checkDatabaseExists.php
Executable file
10
checkDatabaseExists.php
Executable file
@ -0,0 +1,10 @@
|
||||
<?php
|
||||
header('Content-Type: application/json');
|
||||
|
||||
$dbPath = '/var/www/html/uploads/questionnaire_database';
|
||||
|
||||
if (file_exists($dbPath)) {
|
||||
echo json_encode(["exists" => true]);
|
||||
} else {
|
||||
echo json_encode(["exists" => false]);
|
||||
}
|
||||
Reference in New Issue
Block a user