X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=prefs.php;h=0add206e43c0de29bb54353d3f4aab5ce2f20c0f;hb=f820f205d0ec1c5ce9027e49755fc8642b0c5b42;hp=0715f26e48aa73a82411649932df4054b3ac8ed9;hpb=62a1f9899ebfc099720a75a7ff0476c86034d45d;p=tt-rss.git diff --git a/prefs.php b/prefs.php index 0715f26e..0add206e 100644 --- a/prefs.php +++ b/prefs.php @@ -1,7 +1,17 @@ Fatal Error: You forgot to copy + config.php-dist to config.php and edit it.\n"; + exit; + } + require_once "sessions.php"; require_once "functions.php"; require_once "sanity_check.php"; @@ -27,6 +37,7 @@ + @@ -39,7 +50,6 @@ "lib/dojo/dojo.js", "lib/dijit/dijit.js", "lib/dojo/tt-rss-layer.js", - "localized_js.php", "errors.php?mode=js") as $jsfile) { echo javascript_tag($jsfile); @@ -60,6 +70,7 @@ print get_minified_js(array("functions", "deprecated", "prefs")); + init_js_translations(); ?>