mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
removed debug_extra notice
other fixes state that mysql.php shouldn't be used for mysql 4.1+ (actually, it should deny using it) git-svn-id: file:///svn/phpbb/trunk@6377 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -262,8 +262,6 @@ $lang = array_merge($lang, array(
|
||||
'USER_CONTROL_PANEL' => 'User Control Panel',
|
||||
|
||||
'WARNING' => 'Warning',
|
||||
|
||||
'DEBUG_EXTRA_WARNING' => 'The DEBUG_EXTRA constant is defined which is only meant for development purposes by the developers.<br />The board is running additional code to display sql reports, which slows down the board in a significant manner. Additionally sql errors are always displayed with a full backtrace to all users instead of displaying it solely to administrators, which is the default setting.<br /><br />With this said, please be aware that you are currently running your installation in <b>Debug Mode</b> and should you take this board live, please remove the constant from the config file.',
|
||||
));
|
||||
|
||||
// PHP info
|
||||
|
@@ -8,6 +8,7 @@
|
||||
* @copyright (c) 2005 phpBB Group
|
||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||
*
|
||||
* @todo You are able to put your permission sets into a seperate file too by prefixing it with permissions_ and putting it into the acp language folder.
|
||||
*/
|
||||
|
||||
/**
|
||||
@@ -34,20 +35,16 @@ if (empty($lang) || !is_array($lang))
|
||||
Please add your permission settings this way:
|
||||
|
||||
// Adding new category
|
||||
$lang['permission_cats']['bugs'] = 'Bugs';
|
||||
$lang['permission_cat']['bugs'] = 'Bugs';
|
||||
|
||||
// Adding new permission set
|
||||
$lang['permission_sets']['bug_'] = 'Bug Permissions';
|
||||
$lang['permission_type']['bug_'] = 'Bug Permissions';
|
||||
|
||||
// Adding the permissions
|
||||
$lang = array_merge($lang, array(
|
||||
'acl_bug_view' => array('lang' => 'Can view bug reports', 'cat' => 'bugs'),
|
||||
'acl_bug_post' => array('lang' => 'Can post bugs', 'cat' => 'post'), // Using a phpBB category here
|
||||
));
|
||||
|
||||
TODO:
|
||||
You are able to put your permission sets into a seperate file too by
|
||||
prefixing it with permissions_ and putting it into the acp language folder.
|
||||
*/
|
||||
|
||||
// Define categories and permission types
|
||||
|
Reference in New Issue
Block a user