1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02: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:
Meik Sievertsen
2008-07-28 14:36:27 +00:00
parent eda1d40861
commit c2133550d0
5 changed files with 8 additions and 8 deletions

View File

@@ -154,7 +154,7 @@ class acm
}
}
}
set_config('cache_last_gc', time(), true);
}
@@ -491,7 +491,7 @@ class acm
*/
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

@@ -463,9 +463,9 @@ class acp_main
$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';