summaryrefslogtreecommitdiff
path: root/modules/blogapi/blogapi.module
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2004-08-24 19:21:30 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2004-08-24 19:21:30 +0000
commit44f341bebc125b7b1b53177e7f858e4ccf55e3df (patch)
tree391c80ae444ed4a9d062fefe7e3c8beb63e98af6 /modules/blogapi/blogapi.module
parentcdff29b0ab45123edab24a51f2258171aa9ae348 (diff)
downloadbrdo-44f341bebc125b7b1b53177e7f858e4ccf55e3df.tar.gz
brdo-44f341bebc125b7b1b53177e7f858e4ccf55e3df.tar.bz2
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.
Diffstat (limited to 'modules/blogapi/blogapi.module')
-rw-r--r--modules/blogapi/blogapi.module2
1 files changed, 1 insertions, 1 deletions
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