mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 10:55:56 +00:00
register: include functions.php before checking for action parameter to set proper error_reporting (fixes #448)
This commit is contained in:
@@ -9,14 +9,14 @@
|
||||
|
||||
require_once 'lib/phpmailer/class.phpmailer.php';
|
||||
|
||||
$action = $_REQUEST["action"];
|
||||
|
||||
require_once "functions.php";
|
||||
require_once "sessions.php";
|
||||
require_once "sanity_check.php";
|
||||
require_once "config.php";
|
||||
require_once "db.php";
|
||||
|
||||
$action = $_REQUEST["action"];
|
||||
|
||||
$link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
|
||||
|
||||
if (!init_connection($link)) return;
|
||||
|
||||
Reference in New Issue
Block a user