Changeset 1298
- Timestamp:
- 11/20/07 13:56:46 (11 months ago)
- Files:
-
- devel/_rpc (deleted)
- devel/htaccess-dist (modified) (1 diff)
- devel/mod/rpc (moved) (moved from devel/units/rpc)
- devel/mod/rpc/RPC2.php (copied) (copied from devel/_rpc/RPC2.php) (1 diff)
- devel/mod/rpc/lib.php (added)
- devel/mod/rpc/rsd.php (copied) (copied from devel/_rpc/rsd.php) (2 diffs)
- devel/mod/rpc/xmlrpc/xmlrpc_server.php (modified) (1 diff)
- devel/units/rpc/main.php (deleted)
- devel/units/rpc/rpc_init.php (deleted)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/htaccess-dist
r1290 r1298 186 186 RewriteRule mt/mt-xmlrpc.cgi _rpc/RPC2.php 187 187 188 # Rewrite rules for rpc transition to mod/ in v0.9+ so we don't break things 189 # 190 RewriteRule ^_rpc/RPC2.php$ mod/rpc/RPC2.php 191 RewriteRule ^_rpc/rsd.php$ mod/rpc/rsd.php?%{QUERY_STRING} 188 192 189 193 </IfModule> devel/mod/rpc/RPC2.php
r538 r1298 8 8 9 9 // This can be run from walled gardens 10 define("context","external");10 define("context","external"); 11 11 12 // Run includes 13 require_once(dirname(dirname(__FILE__))."/includes.php"); 12 // Run site includes 13 require_once "../../includes.php"; 14 15 global $CFG; 16 17 // rpc includes 18 include_once $CFG->dirroot . "mod/rpc/lib/class_elggobject.php"; 19 include_once $CFG->dirroot . "mod/rpc/lib/class_user.php"; 20 include_once $CFG->dirroot . "mod/rpc/lib/class_weblog.php"; 21 include_once $CFG->dirroot . "mod/rpc/lib/class_comment.php"; 22 include_once $CFG->dirroot . "mod/rpc/lib/class_post.php"; 23 include_once $CFG->dirroot . "mod/rpc/lib/class_tag.php"; 24 include_once $CFG->dirroot . "mod/rpc/lib/class_folder.php"; 25 include_once $CFG->dirroot . "mod/rpc/lib/class_file.php"; 26 27 // Blogger API 28 include $CFG->dirroot . "mod/rpc/xmlrpc/handlers_blogger_xmlrpc.php"; 29 // MoveableType API 30 include $CFG->dirroot . "mod/rpc/xmlrpc/handlers_mt_xmlrpc.php"; 31 // LiveJournal API 32 include $CFG->dirroot . "mod/rpc/xmlrpc/handlers_livejournal_xmlrpc.php"; 33 // Misc Elgg functions 34 include $CFG->dirroot . "mod/rpc/xmlrpc/handlers_elgg_user.php"; 14 35 15 36 // Fire up the XML-RPC server 16 run('rpc:xmlrpc:server');37 run('rpc:xmlrpc:server'); 17 38 18 39 ?> devel/mod/rpc/rsd.php
r573 r1298 6 6 // (this is old stuff, is it being used anymore?!?) 7 7 8 include "../ includes.php";8 include "../../includes.php"; 9 9 10 10 header("Content-type: text/xml"); … … 13 13 if (!empty($blog_id)) { 14 14 $username = user_info('username', $blog_id); 15 $service_url = url . " _rpc/RPC2.php";15 $service_url = url . "mod/rpc/RPC2.php"; 16 16 $user_homepage = url . $username . "/weblog/"; 17 17 devel/mod/rpc/xmlrpc/xmlrpc_server.php
r470 r1298 41 41 global $RPC; 42 42 43 require_once $CFG->dirroot . " units/rpc/lib/IXR_Library.inc.php";43 require_once $CFG->dirroot . "mod/rpc/lib/IXR_Library.inc.php"; 44 44 45 45 /**
