disable api

This commit is contained in:
dpeca 2018-04-10 00:45:59 +02:00 committed by GitHub
commit 4663fbf574
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
<?php
define('VESTA_CMD', '/usr/bin/sudo /usr/local/vesta/bin/');
exit;
if (isset($_POST['user']) || isset($_POST['hash'])) {
// Authentication