aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-07-28 14:36:27 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-07-28 14:36:27 +0000
commitc2133550d0a54968e53b961783fc97af6e343e85 (patch)
tree9dcc2730348144c378dc196d7439683ef73d3c3d /phpBB/includes
parenteda1d40861fb5a2b74e7e5ade618cc9fa83cafd1 (diff)
downloadforums-c2133550d0a54968e53b961783fc97af6e343e85.tar
forums-c2133550d0a54968e53b961783fc97af6e343e85.tar.gz
forums-c2133550d0a54968e53b961783fc97af6e343e85.tar.bz2
forums-c2133550d0a54968e53b961783fc97af6e343e85.tar.xz
forums-c2133550d0a54968e53b961783fc97af6e343e85.zip
writable instead of writeable. :/
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8698 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/acm/acm_file.php4
-rw-r--r--phpBB/includes/acp/acp_main.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/includes/acm/acm_file.php b/phpBB/includes/acm/acm_file.php
index 5851016f3d..8462febdcf 100644
--- a/phpBB/includes/acm/acm_file.php
+++ b/phpBB/includes/acm/acm_file.php
@@ -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);
diff --git a/phpBB/includes/acp/acp_main.php b/phpBB/includes/acp/acp_main.php
index 523fcc98f3..2999c05f03 100644
--- a/phpBB/includes/acp/acp_main.php
+++ b/phpBB/includes/acp/acp_main.php
@@ -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';