1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-01 03:54:56 +02:00

writeable -> writable merge

git-svn-id: file:///svn/phpbb/trunk@8762 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2008-08-16 13:11:50 +00:00
parent 4235be4bcb
commit 15e04808fc
4 changed files with 8 additions and 8 deletions

View File

@ -21,10 +21,10 @@
</div>
<!-- ENDIF -->
<!-- IF S_WRITEABLE_CONFIG -->
<!-- IF S_WRITABLE_CONFIG -->
<div class="errorbox">
<h3>{L_WARNING}</h3>
<p>{L_WRITEABLE_CONFIG}</p>
<p>{L_WRITABLE_CONFIG}</p>
</div>
<!-- ENDIF -->

View File

@ -143,7 +143,7 @@ class acm
}
}
}
set_config('cache_last_gc', time(), true);
}
@ -438,7 +438,7 @@ class acm
*/
private 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.
trigger_error('Unable to remove files within ' . $this->cache_dir . '. Please check directory permissions.', E_USER_ERROR);

View File

@ -459,9 +459,9 @@ class acp_main
$template->assign_var('S_REMOVE_INSTALL', true);
}
if (file_exists(PHPBB_ROOT_PATH . 'config.' . PHP_EXT) && is_writeable(PHPBB_ROOT_PATH . 'config.' . PHP_EXT))
if (file_exists(PHPBB_ROOT_PATH . 'config.' . PHP_EXT) && is_writable(PHPBB_ROOT_PATH . 'config.' . PHP_EXT))
{
$template->assign_var('S_WRITEABLE_CONFIG', true);
$template->assign_var('S_WRITABLE_CONFIG', true);
}
$this->tpl_name = 'acp_main';
@ -469,4 +469,4 @@ class acp_main
}
}
?>
?>

View File

@ -363,7 +363,7 @@ $lang = array_merge($lang, array(
'VIEW_INACTIVE_USERS' => 'View inactive users',
'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