Initial commit

This commit is contained in:
Christopher Vagnetoft
2016-04-19 15:54:03 +02:00
commit c378d62ccb
20 changed files with 1132 additions and 0 deletions

9
bin/bootstrap.php Normal file
View 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
View File

@ -0,0 +1,4 @@
#!/usr/bin/env php
<?php
require_once __DIR__."/bootstrap.php";

7
bin/systemtest.php Normal file
View 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();
}