Added dummy script for delete_proxy
This commit is contained in:
parent
5a9f6f1ce3
commit
b2b879c3f8
1 changed files with 18 additions and 0 deletions
18
scripts/webapps/proxy/delete_proxy.php
Normal file
18
scripts/webapps/proxy/delete_proxy.php
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
include('leviathanutils/vendor/autoload.php');
|
||||
|
||||
//getopt(string $short_options, array $long_options = [], int &$rest_index = null)
|
||||
|
||||
$long_opts=['user:', 'home_user:'];
|
||||
|
||||
$arr_opts=getopt('', $long_opts);
|
||||
|
||||
if(!isset($long_opts['user']) || !isset($long_opts['home_user'])) {
|
||||
|
||||
echo "php delete_proxy.php --user=username --home_user=/path/to/app/home\n";
|
||||
|
||||
}
|
||||
|
||||
//Proxy only delete apache vhosts.
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue