Commit: 605a7f2e8d4fe6ad6fe178fe77cf81c0ef79e465 Author: Sherif Ramadan <[email protected]> Fri, 20 Dec 2013 05:08:38 -0500 Parents: 3798019687a4b426ccb02f07997849ae7a6f2ebd Branches: master
Link: http://git.php.net/?p=web/master.git;a=commitdiff;h=605a7f2e8d4fe6ad6fe178fe77cf81c0ef79e465 Log: Fix wrong global variable used due to bjori's commit from c659097ec0d0a08327b80c1b32ac0797f35ba5dd Admin users can't be identified otherwise. Changed paths: M manage/pinfo.php Diff: diff --git a/manage/pinfo.php b/manage/pinfo.php index 6a588c1..7c049b3 100644 --- a/manage/pinfo.php +++ b/manage/pinfo.php @@ -1,7 +1,7 @@ <?php require '../include/login.inc'; -if (!is_mirror_site_admin($user)) { +if (!is_mirror_site_admin($cuser)) { warn("Sorry, you are not allowed to view this web page"); exit; } -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
