]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
moved api.php to web_services.php as it is more descriptive
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sun, 28 Nov 2010 13:31:59 +0000 (13:31 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sun, 28 Nov 2010 13:31:59 +0000 (13:31 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@7459 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/lib/web_services.php [moved from engine/lib/api.php with 99% similarity]
engine/start.php
install/ElggInstaller.php

similarity index 99%
rename from engine/lib/api.php
rename to engine/lib/web_services.php
index 2c566b4791cd2da5ba4d638f64a8b4cb52c4faba..b9c87843e19c8b09021dcb61ad31586ee9ed4313 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /**
- * Elgg API
- * Functions and objects that make up the API engine.
+ * Elgg web services API
+ * Functions and objects for exposing custom web services.
  *
  * @package    Elgg.Core
  * @subpackage WebServicesAPI
index 0ae24aaf5b3eb4dfba8caa59472537e4d063ff83..7a3dee31ecab6ea8200cd4181975266252966e1a 100644 (file)
@@ -92,7 +92,7 @@ $lib_files = array(
        // these need to be loaded first.
        'database.php', 'actions.php',
 
-       'admin.php', 'annotations.php', 'api.php', 'calendar.php',
+       'admin.php', 'annotations.php', 'calendar.php',
        'configuration.php', 'cron.php', 'entities.php', 'export.php',
        'extender.php', 'filestore.php', 'group.php', 
        'location.php', 'mb_wrapper.php', 'memcache.php', 'metadata.php',
@@ -100,14 +100,14 @@ $lib_files = array(
        'opendd.php', 'pagehandler.php', 'pageowner.php', 'pam.php', 'plugins.php',
        'private_settings.php', 'relationships.php', 'river.php', 'sites.php',
        'statistics.php', 'tags.php', 'usersettings.php', 'users.php',
-       'version.php', 'widgets.php', 'xml.php', 'xml-rpc.php'
+       'version.php', 'web_services.php', 'widgets.php', 'xml.php', 'xml-rpc.php'
 );
 
 foreach ($lib_files as $file) {
        $file = $lib_dir . $file;
        elgg_log("Loading $file...");
        if (!include_once($file)) {
-               $msg = sprint(elgg_echo('InstallationException:MissingLibrary'), $file);
+               $msg = sprintf(elgg_echo('InstallationException:MissingLibrary'), $file);
                throw new InstallationException($msg);
        }
 }
index 060480791731af49e4cf364e3e94f688e4f629b7..e5bf47853f3b2eda5e95e2e9ad153362012660f2 100644 (file)
@@ -732,7 +732,7 @@ class ElggInstaller {
                                // these want to be loaded first apparently?
                                'database.php', 'actions.php',
 
-                               'admin.php', 'annotations.php', 'api.php',
+                               'admin.php', 'annotations.php',
                                'calendar.php', 'configuration.php', 'cron.php', 'entities.php',
                                'extender.php', 'filestore.php', 'group.php',
                                'location.php', 'mb_wrapper.php',
@@ -742,7 +742,8 @@ class ElggInstaller {
                                'pageowner.php', 'pam.php', 'plugins.php',
                                'private_settings.php', 'relationships.php', 'river.php',
                                'sites.php', 'statistics.php', 'tags.php', 'usersettings.php',
-                               'users.php', 'version.php', 'widgets.php', 'xml.php', 'xml-rpc.php'
+                               'users.php', 'version.php', 'web_services.php',
+                               'widgets.php', 'xml.php', 'xml-rpc.php'
                        );
 
                        foreach ($lib_files as $file) {