mirror of
https://github.com/ShaYmez/FreeSTAR-Status-Engine.git
synced 2026-06-18 22:08:35 -04:00
Fix #14 - show installation dialog on 404 page if config not found
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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
@@ -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
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user