Allow usage of Teleporter and QueryAds backend only if a valid session is detected (#415)

This commit is contained in:
DL6ER
2017-02-27 22:32:03 +01:00
committed by GitHub
parent f328595d6d
commit 276f2c1628
2 changed files with 7 additions and 2 deletions

View File

@@ -6,6 +6,9 @@
* This file is copyright under the latest version of the EUPL.
* Please see LICENSE file for your rights under this license. */
require "password.php";
if(!$auth) die("Not authorized");
ob_end_flush();
ini_set("output_buffering", "0");
ob_implicit_flush(true);