]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - index.php
Check that 'dl' function is available and usable before trying to call it with error...
[quix0rs-gnu-social.git] / index.php
index bbb78b6a92932d39ab8480fa9ea900f680d67bcd..72ceb45df27fd0df0f44802efc9a3cdff3fbe5c9 100644 (file)
--- a/index.php
+++ b/index.php
@@ -19,6 +19,7 @@
 
 define('INSTALLDIR', dirname(__FILE__));
 define('STATUSNET', true);
+define('LACONICA', true); // compatibility
 
 require_once INSTALLDIR . '/lib/common.php';
 
@@ -226,7 +227,7 @@ function main()
 
         try {
             if ($action_obj->prepare($args)) {
-                $action_obj->handle($args);
+                $action_obj->handleWrapper($args);
             }
         } catch (ClientException $cex) {
             $cac = new ClientErrorAction($cex->getMessage(), $cex->getCode());