mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-06 14:59:15 +00:00
remove error_reporting() hacks; set default error reporting level in functions.php
This commit is contained in:
@@ -1,18 +1,15 @@
|
||||
#!/usr/bin/php
|
||||
<?php
|
||||
define('DEFAULT_ERROR_LEVEL', E_ERROR | E_WARNING | E_PARSE);
|
||||
define('DISABLE_SESSIONS', true);
|
||||
|
||||
if (!defined('PHP_EXECUTABLE'))
|
||||
define('PHP_EXECUTABLE', '/usr/bin/php');
|
||||
|
||||
error_reporting(DEFAULT_ERROR_LEVEL);
|
||||
|
||||
require_once "functions.php";
|
||||
require_once "sanity_check.php";
|
||||
require_once "config.php";
|
||||
require_once "db.php";
|
||||
require_once "db-prefs.php";
|
||||
require_once "functions.php";
|
||||
|
||||
$op = $argv[1];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user