Discussion Forums  >  Self Hosted Control Panels

Replies: 1    Views: 79

leon7000
Lost but trying
Profile
Posts: 58
Reg: Mar 02, 2012
Saudi Arabia
6,080
04/30/12 11:53 AM (13 years ago)

prevent PHP extensions in bt file

Hi Every One I want to prevent certain extensions such as PHP extensions from file /media manger And i looked at the source code like bt_file and another file I did not find any code for that i just find the mime type and on database the table for file type is empty As you know that PHP extensions are dangerous especially for BT Server user second thing i want ask about is :my 100 source download limit on my bt self hosting control that still not reset this month and still continuo count ...did you rest it manually ? Thank you all and i hope you have a good nice day
 
leon7000
Lost but trying
Profile
Posts: 58
Reg: Mar 02, 2012
Saudi Arabia
6,080
like
04/30/12 02:16 PM (13 years ago)
ok about my first question i get it on this line : $allowed_file_types[] = array("text/plain", "php"); on file:utilityFunctions.php and i don't know how i miss it in early search i made
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.