diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-05-17 20:49:54 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-05-17 20:49:54 +0000 |
commit | fa2469c1dd3eb60f97a1824e0a37c65f83f3e332 (patch) | |
tree | 6b9a6dd67b21dd119044d8cb0d2cf28f29d5aa31 /modules/system/system.module | |
parent | a5489b7b1c1df8f202eb4248537d5bb3da515f09 (diff) | |
download | brdo-fa2469c1dd3eb60f97a1824e0a37c65f83f3e332.tar.gz brdo-fa2469c1dd3eb60f97a1824e0a37c65f83f3e332.tar.bz2 |
- Patch #23028 by chx: fixed file_check_location() problems.
Diffstat (limited to 'modules/system/system.module')
-rw-r--r-- | modules/system/system.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.module b/modules/system/system.module index c0e5550ae..b3c825378 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -225,7 +225,7 @@ function system_view_general() { file_check_directory($directory_path, FILE_CREATE_DIRECTORY, 'file_directory_path'); $directory_temp = variable_get('file_directory_temp', FILE_DIRECTORY_TEMP); - file_check_directory(file_create_path($directory_temp), FILE_CREATE_DIRECTORY, 'file_directory_temp'); + file_check_directory($directory_temp, FILE_CREATE_DIRECTORY, 'file_directory_temp'); $group = form_textfield(t('File system path'), 'file_directory_path', $directory_path, 70, 255, t('A file system path where the files will be stored. This directory has to exist and be writable by Drupal. If the download method is set to public this directory has to be relative to Drupal installation directory, and be accessible over the web. When download method is set to private this directory should not be accessible over the web. Changing this location after the site has been in use will cause problems so only change this setting on an existing site if you know what you are doing.')); $group .= form_textfield(t('Temporary directory'), 'file_directory_temp', $directory_temp, 70, 255, t('Location where uploaded files will be kept during previews. Relative paths will be resolved relative to the file system path.')); |