Fix #14 - show installation dialog on 404 page if config not found

This commit is contained in:
Vojtěch Sajdl
2018-01-18 22:57:12 +01:00
parent fe02441c3d
commit 696b205b68
13 changed files with 106 additions and 93 deletions
+4 -4
View File
@@ -1,9 +1,9 @@
<?php
//DIR Because of include problems
require(__DIR__ . "/incident.php");
require(__DIR__ . "/service.php");
require(__DIR__ . "/user.php");
require(__DIR__ . "/token.php");
require_once(__DIR__ . "/incident.php");
require_once(__DIR__ . "/service.php");
require_once(__DIR__ . "/user.php");
require_once(__DIR__ . "/token.php");
/**
* Facade class
*/
+1 -1
View File
@@ -66,7 +66,7 @@ class Incident
/**
* Processes submitted form and adds incident unless problem is encountered,
* calling this is possible only for admin or higher rank. Also checks requirements
* calling this is possible only for admin or higher rank. Also checks require_oncements
* for char limits.
* @return void
*/
+1 -1
View File
@@ -51,7 +51,7 @@ class Service
/**
* Processes submitted form and adds service unless problem is encountered,
* calling this is possible only for admin or higher rank. Also checks requirements
* calling this is possible only for admin or higher rank. Also checks require_oncements
* for char limits.
* @return void
*/
+1 -1
View File
@@ -106,7 +106,7 @@ class User
/**
* Processes submitted form and adds user unless problem is encountered,
* calling this is possible only for Superadmin (other ranks cannot add users)
* or when the installation script is being run. Also checks requirements
* or when the installation script is being run. Also checks require_oncements
* for username and email being unique and char limits.
* @return void
*/