Refactored, no more redirects. Improved error messaging system
This commit is contained in:
2
lib.php
2
lib.php
@@ -10,6 +10,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// ========== CONSTANT DEFINITIONS ============================================
|
||||
|
||||
// page actions
|
||||
define ('ACT_ERR_DENIED', -1);
|
||||
define ('ACT_DEFAULT', 0);
|
||||
define ('ACT_ADD', 1);
|
||||
define ('ACT_VIEW', 2);
|
||||
@@ -24,6 +25,7 @@ define ('ACT_LINK', 10);
|
||||
define ('ACT_UNLINK', 11);
|
||||
define ('ACT_MAIL', 12);
|
||||
define ('ACT_VIEW_LIST', 13);
|
||||
define ('ACT_PASSWORD', 14);
|
||||
|
||||
// ========== GLOBAL PAGE START CODE ==========================================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user