mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 15:45:56 +00:00
add experimental easy installer
This commit is contained in:
10
prefs.php
10
prefs.php
@@ -1,7 +1,17 @@
|
||||
<?php
|
||||
if (file_exists("install") && !file_exists("config.php")) {
|
||||
header("Location: install/");
|
||||
}
|
||||
|
||||
set_include_path(dirname(__FILE__) ."/include" . PATH_SEPARATOR .
|
||||
get_include_path());
|
||||
|
||||
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.\n";
|
||||
exit;
|
||||
}
|
||||
|
||||
require_once "sessions.php";
|
||||
require_once "functions.php";
|
||||
require_once "sanity_check.php";
|
||||
|
||||
Reference in New Issue
Block a user