summaryrefslogtreecommitdiff
path: root/modules/color
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-08-17 22:05:22 +0000
committerDries Buytaert <dries@buytaert.net>2010-08-17 22:05:22 +0000
commit755913e0b7fc552126b3cf2d5074b911f24f996b (patch)
tree0b7ba3fa4aa81fd7d01a28873bb04aac4efe73e5 /modules/color
parent16c888a917c889faf6d29fa6162201c9c8810f2f (diff)
downloadbrdo-755913e0b7fc552126b3cf2d5074b911f24f996b.tar.gz
brdo-755913e0b7fc552126b3cf2d5074b911f24f996b.tar.bz2
- Patch #443286 by c960657, Damien Tournoud, drifter, webkenny, scor: international characters break file handling.
Diffstat (limited to 'modules/color')
-rw-r--r--modules/color/color.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/color/color.module b/modules/color/color.module
index 6a3ca99c4..01341a618 100644
--- a/modules/color/color.module
+++ b/modules/color/color.module
@@ -312,10 +312,10 @@ function color_scheme_form_submit($form, &$form_state) {
// Delete old files.
foreach (variable_get('color_' . $theme . '_files', array()) as $file) {
- @unlink($file);
+ @drupal_unlink($file);
}
if (isset($file) && $file = dirname($file)) {
- @rmdir($file);
+ @drupal_rmdir($file);
}
// Don't render the default colorscheme, use the standard theme instead.