Skip to content

Commit

Permalink
addding scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
detain committed May 31, 2017
1 parent 39f9996 commit 8764647
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/create_directadmin_license.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

require_once(__DIR__ . '/../../../include/functions.inc.php');
$result = activate_directadmin($ip, $ostype, $pass, $email, $name, $domain);
print_r($result);
5 changes: 5 additions & 0 deletions scripts/directadmin_licenses.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/php
<?php

require_once(__DIR__ . '/../../../include/functions.inc.php');
print_r(get_directadmin_licenses());

0 comments on commit 8764647

Please sign in to comment.