Initial commit
This commit is contained in:
9
bin/bootstrap.php
Normal file
9
bin/bootstrap.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
require_once __DIR__."/../vendor/autoload.php";
|
||||
require_once __DIR__."/systemtest.php";
|
||||
|
||||
use NoccyLabs\Hotfix\HotfixApplication;
|
||||
|
||||
$app = new HotfixApplication();
|
||||
$app->run();
|
4
bin/hotfix
Normal file
4
bin/hotfix
Normal file
@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
require_once __DIR__."/bootstrap.php";
|
7
bin/systemtest.php
Normal file
7
bin/systemtest.php
Normal file
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
if (!is_callable("gnupg_init")) {
|
||||
fprintf(STDERR, "Error: The PHP GnuPG extension is not installed.\n\n");
|
||||
fprintf(STDERR," * Debian/Ubuntu: Resolve with 'sudo apt-get install php5-gnupg' (or 'php7-gnupg')\n");
|
||||
die();
|
||||
}
|
Reference in New Issue
Block a user