Icy Phoenix

     
 

Fix For Adm/Admin_bb_db.php [By Informpro :D]

Fix For Adm/Admin_bb_db.php [By Informpro :D]

Article
Reply with quote    Download Post  
Post Fix For Adm/Admin_bb_db.php [By Informpro :D] 
 
In the file adm/Admin_bb_db.php
Find
Code: [Download] [Hide]
  1. $allowed = $allowed_admins = ''; 
[Delete Me, U'll put code here ;D]
Code: [Download] [Hide]
  1. if (!$allowed) 

Code:
Code: [Download] [Hide]
  1. //+Informpro fix Admin_bb_db.php for use MAIN_ADMINS_ID const+  
  2. if(defined('MAIN_ADMINS_ID'))  
  3.      {  
  4.          $allowed_admins = explode(',', MAIN_ADMINS_ID);  
  5.          for ($x = 0; $x < count($allowed_admins); $x++)  
  6.          {  
  7.              if ($userdata['user_id'] == $allowed_admins[$x])  
  8.                  {  
  9.                      $allowed = true;  
  10.                  }  
  11.          }  
  12. }  
  13. else  
  14.      {  
  15.          $allowed = true;  
  16.      }  
  17. //-Informpro fix Admin_bb_db.php for use MAIN_ADMINS_ID const  




 
Edited by Informpro, Sat 16 May, 2009 21:56: Fix a ; missing ;)
Informpro - View user's profile Send private message  
Informpro [ Sat 16 May, 2009 21:52 ]
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us


Fix For Adm/Admin_bb_db.php [By Informpro :D]

Comments
Reply with quote    Download Post  
Post Re: Fix For Adm/Admin_bb_db.php [By Informpro :D] 
 
Thanks for pointing me to that part of that file which is buggy.

I have fixed it.



 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Sat 16 May, 2009 22:45 ]
Reply with quote    Download Post  
Post Re: Fix For Adm/Admin_bb_db.php [By Informpro :D] 
 
Ok thx, I'm happy to know that I've help MG LOL ^^



 
Informpro - View user's profile Send private message  
Informpro [ Sat 16 May, 2009 22:59 ]
Display posts from previous:    

HideWas this topic useful?

Post new topic  Reply to topic  Page 1 of 1
 
 




 


 

  cron