define(SCHEMA_VERSION, 2);
+ require_once "sanity_check.php";
require_once "config.php";
require_once "db.php";
require_once "db-prefs.php";
<?
+ require_once "sanity_check.php";
require_once "version.php";
require_once "config.php";
require_once "db-prefs.php";
<?
session_start();
+ require_once "sanity_check.php";
require_once "version.php";
require_once "config.php";
require_once "functions.php";
<?
session_start();
+ require_once "sanity_check.php";
+
// FIXME there are some brackets issues here
$op = $_REQUEST["op"];
<?
session_start();
+ require_once "sanity_check.php";
require_once "version.php";
require_once "config.php";
require_once "db-prefs.php";
--- /dev/null
+<?
+ if (!file_exists("config.php")) {
+ print "<b>Fatal Error</b>: You forgot to copy
+ <b>config.php-dist</b> to <b>config.php</b> and edit it.";
+ exit;
+ }
+
+ if (!file_exists("magpierss/rss_fetch.inc")) {
+ print "<b>Fatal Error</b>: You forgot to place
+ <a href=\"http://magpierss.sourceforge.net\">MagpieRSS</a>
+ distribution in <b>magpierss/</b>
+ subdirectory of TT-RSS tree.";
+ exit;
+ }
+?>
<?
session_start();
-
+
+ require_once "sanity_check.php";
require_once "version.php";
require_once "config.php";
require_once "db-prefs.php";