diff --git a/index.php b/index.php index dbb7fff6f8..98ad54a1fc 100644 --- a/index.php +++ b/index.php @@ -41,8 +41,8 @@ $_startTime = microtime(true); $_perfCounters = array(); define('INSTALLDIR', dirname(__FILE__)); -define('STATUSNET', true); -define('LACONICA', true); // compatibility +define('GNUSOCIAL', true); +define('STATUSNET', true); // compatibility $user = null; $action = null; diff --git a/lib/installer.php b/lib/installer.php index 187bdc172c..78f03b49dd 100644 --- a/lib/installer.php +++ b/lib/installer.php @@ -422,7 +422,7 @@ abstract class Installer // assemble configuration file in a string $cfg = "updateStatus("Initializing..."); ini_set('display_errors', 1); error_reporting(E_ALL); + if (!defined('GNUSOCIAL')) { + define('GNUSOCIAL', true); + } if (!defined('STATUSNET')) { - define('STATUSNET', 1); + define('STATUSNET', true); } require_once INSTALLDIR . '/lib/framework.php'; StatusNet::initDefaults($this->server, $this->path);