Code: Select all
If the script was downloaded form another location, it IS possible that it may have been altered.
******************************************************************************************************/
// You may set a password here if you would rather not use the toolkit_config.php
$use_toolkit_config_file = 'no'; // Change this to 'No' to set the password in the toolkit.php itself like in previous releases
$use_hashed_in_file_passwords = 'no'; // Change this if you want to use hashed admin/mod passwords specified in the toolkit (the toolkit_config.php file will use hashed passwords regardless)
$adminpassword = '***'; // Note: I HIGHLY recommend using a password at least 16 characters long!
$modpassword = '****'; // Leave blank to disable mod login
// Option 1: Allow Mods to Ban/UnBan Users?
$modban = 'yes'; // 'yes' : 'no'
// Option 2: Allow Mods to Change User Post Count?
$modpost = 'no'; // 'yes' : 'no'
// Option 3: Allow Mods to Change User Ranks?
$modrank = 'yes'; // 'yes' : 'no'
// Option 4: Allow Mods to Delete Users?
$moddelete = 'no'; // 'yes' : 'no'
// Option 5: Update check URLs
// Note: To disable checking for updates for phpbb, set the phpbb URL to 'none'
// Note: To disable checking for updates for this toolkit, set the toolkit URL to 'none'
// The default phpbb url is: http://www.phpbb.com/updatecheck/20x.txt
// The default toolkit url is: http://starfoxtj.no-ip.com/phpBB/toolkit/updatecheck/2.x.txt
$update_url['phpbb'] = 'http://www.phpbb.com/updatecheck/20x.txt';
$update_url['toolkit'] = 'http://starfoxtj.no-ip.com/phpBB/toolkit/updatecheck/2.x.txt';
Code: Select all
// First check if cookies are enabled
if( !isset( $_COOKIE['upload_toolkit_enabled'] ) )
{
die( "Your browser must be set to accept cookies
from the $domain domain to use the
http://starfoxtj.no-ip.com/phpbb/toolkit\"
target=_blank
>http://starfoxtj.no-ip.com/phpbb/toolkit\"
target=\"_blank\">PHPBB Admin ToolKit.
Please
enable your cookies and try again.
In your browser, goto Tools -> Options
-> Privacy.
Then either set the cookie
permissions to Allow or set the cookie
permissions for $domain to Allow.
(Note: Depending on the browser, the
settings may be in a slightly different location.)" );
}