Thread: TBDev
View Single Post
  #8  
Old 13th November 2016, 06:37
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
I would be putting this
PHP Code:
define('PROJECT_R2'true); 
In all the base files (index.php, browse.php,forum.php ..............)
and all the other files I would put
PHP Code:
if (!defined("PROJECT_R2")) {
    
  
print_r("Direct initialization of this file is not allowed.");

this well help a little more with securing your files.
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
The Following User Says Thank You to joeroberts For This Useful Post:
puppy (13th November 2016)