Extended current password protection to gravity.sh page

This commit is contained in:
DL6ER
2016-11-20 14:52:53 +01:00
parent 6781fa7919
commit 2c93be0174
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -242,7 +242,7 @@
</li>
<!-- Run gravity.sh -->
<li>
<a href="gravity.php">
<a href="gravity.php?<?php echo $pwstring; ?>">
<i class="fa fa-arrow-circle-down"></i> <span>Update lists</span>
</a>
</li>
+3
View File
@@ -1,4 +1,7 @@
<?php
require "password.php";
if(!$auth) die("Not authorized");
ob_end_flush();
ini_set("output_buffering", "0");
ob_implicit_flush(true);