Changeset - f1b145950870
[Not reviewed]
default
0 1 0
Ethan Zonca - 15 years ago 2010-12-02 21:51:42
ez@ethanzonca.com
Quick fix
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
admin.php
Show inline comments
 
@@ -28,7 +28,7 @@
 
  }
 

	
 
  // Force authentication
 
  if (!isset($_SERVER['PHP_AUTH_USER']) || $_SERVER['PHP_AUTH_PW'] != $admin_pass) {
 
  else if (!isset($_SERVER['PHP_AUTH_USER']) || $_SERVER['PHP_AUTH_PW'] != $admin_pass) {
 
    header('WWW-Authenticate: Basic realm="My Realm"');
 
    header('HTTP/1.0 401 Unauthorized');
 
    echo '<p>You must authenticate to view this page.</p>';
0 comments (0 inline, 0 general)