From 44f341bebc125b7b1b53177e7f858e4ccf55e3df Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Tue, 24 Aug 2004 19:21:30 +0000 Subject: Patch by me and Kjartan. Upload.module - Fixing a bug caused by the PHP5 patches. Beware: PHP4's array_merge() will silently accept objects and convert them to arrays. We should not depend on this behaviour in the future. File.inc / file-using modules: - Removing the constant FILE_SEPARATOR: forward slashes work fine on Windows, and it was being used incorrectly as an URL separator sometimes. - Adding @ to mkdir and chmod to supress ugly PHP errors. They are already reported with drupal_set_message(). - Fixing default for variable 'file_directory_temp'. - Clarifying the help tip for 'file_directory_temp' in admin > settings. --- modules/blogapi/blogapi.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/blogapi/blogapi.module') diff --git a/modules/blogapi/blogapi.module b/modules/blogapi/blogapi.module index ef902edb8..0e472aa46 100644 --- a/modules/blogapi/blogapi.module +++ b/modules/blogapi/blogapi.module @@ -539,7 +539,7 @@ function blogapi_blogapi() { function blogapi_rsd() { global $base_url; - $xmlrpc = $base_url . FILE_SEPARATOR . 'xmlrpc.php'; + $xmlrpc = $base_url .'/'. 'xmlrpc.php'; $base = url('', NULL, NULL, TRUE); $blogid = 1; # until we figure out how to handle multiple bloggers -- cgit v1.2.3