mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Extended current password protection to gravity.sh page
This commit is contained in:
+1
-1
@@ -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>
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user