mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
writable instead of writeable. :/
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8698 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
eda1d40861
commit
c2133550d0
5 changed files with 8 additions and 8 deletions
|
@ -21,10 +21,10 @@
|
||||||
</div>
|
</div>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
|
||||||
<!-- IF S_WRITEABLE_CONFIG -->
|
<!-- IF S_WRITABLE_CONFIG -->
|
||||||
<div class="errorbox">
|
<div class="errorbox">
|
||||||
<h3>{L_WARNING}</h3>
|
<h3>{L_WARNING}</h3>
|
||||||
<p>{L_WRITEABLE_CONFIG}</p>
|
<p>{L_WRITABLE_CONFIG}</p>
|
||||||
</div>
|
</div>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
|
|
@ -87,7 +87,7 @@
|
||||||
<ul>
|
<ul>
|
||||||
<li>[Fix] Correctly set topic starter if first post in topic removed (Bug #30575 - Patch by blueray2048)</li>
|
<li>[Fix] Correctly set topic starter if first post in topic removed (Bug #30575 - Patch by blueray2048)</li>
|
||||||
<li>[Change] No longer allow the direct use of MULTI_INSERT in sql_build_array. sql_multi_insert() must be used.</li>
|
<li>[Change] No longer allow the direct use of MULTI_INSERT in sql_build_array. sql_multi_insert() must be used.</li>
|
||||||
<li>[Change] Display warning in ACP if config.php file is left writeable.</li>
|
<li>[Change] Display warning in ACP if config.php file is left writable.</li>
|
||||||
<li>[Change] More restrictive chmod to new files being created.</li>
|
<li>[Change] More restrictive chmod to new files being created.</li>
|
||||||
<li>[Feature] Allow limited inheritance for templates sets.</li>
|
<li>[Feature] Allow limited inheritance for templates sets.</li>
|
||||||
<li>[Feature] Allow hard disabling of the template editor.</li>
|
<li>[Feature] Allow hard disabling of the template editor.</li>
|
||||||
|
|
|
@ -491,7 +491,7 @@ class acm
|
||||||
*/
|
*/
|
||||||
function remove_file($filename, $check = false)
|
function remove_file($filename, $check = false)
|
||||||
{
|
{
|
||||||
if ($check && !@is_writeable($this->cache_dir))
|
if ($check && !@is_writable($this->cache_dir))
|
||||||
{
|
{
|
||||||
// E_USER_ERROR - not using language entry - intended.
|
// E_USER_ERROR - not using language entry - intended.
|
||||||
trigger_error('Unable to remove files within ' . $this->cache_dir . '. Please check directory permissions.', E_USER_ERROR);
|
trigger_error('Unable to remove files within ' . $this->cache_dir . '. Please check directory permissions.', E_USER_ERROR);
|
||||||
|
|
|
@ -463,9 +463,9 @@ class acp_main
|
||||||
$template->assign_var('S_REMOVE_INSTALL', true);
|
$template->assign_var('S_REMOVE_INSTALL', true);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (file_exists($phpbb_root_path . 'config.' . $phpEx) && is_writeable($phpbb_root_path . 'config.' . $phpEx))
|
if (file_exists($phpbb_root_path . 'config.' . $phpEx) && is_writable($phpbb_root_path . 'config.' . $phpEx))
|
||||||
{
|
{
|
||||||
$template->assign_var('S_WRITEABLE_CONFIG', true);
|
$template->assign_var('S_WRITABLE_CONFIG', true);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->tpl_name = 'acp_main';
|
$this->tpl_name = 'acp_main';
|
||||||
|
|
|
@ -362,7 +362,7 @@ $lang = array_merge($lang, array(
|
||||||
'VIEW_INACTIVE_USERS' => 'View inactive users',
|
'VIEW_INACTIVE_USERS' => 'View inactive users',
|
||||||
|
|
||||||
'WELCOME_PHPBB' => 'Welcome to phpBB',
|
'WELCOME_PHPBB' => 'Welcome to phpBB',
|
||||||
'WRITEABLE_CONFIG' => 'Your config file (config.php) is currently world-writeable. We strongly encourage you to change the permissions to 640 or at least to 644 (for example: <a href="http://en.wikipedia.org/wiki/Chmod" rel="external">chmod</a> 640 config.php).',
|
'WRITABLE_CONFIG' => 'Your config file (config.php) is currently world-writable. We strongly encourage you to change the permissions to 640 or at least to 644 (for example: <a href="http://en.wikipedia.org/wiki/Chmod" rel="external">chmod</a> 640 config.php).',
|
||||||
));
|
));
|
||||||
|
|
||||||
// Inactive Users
|
// Inactive Users
|
||||||
|
|
Loading…
Add table
Reference in a new issue