summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-14 15:26:48 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-14 15:26:48 -0400
commitb6cfd2dffeeb733f07818db5f4ce11d4b3d51771 (patch)
tree29ddc2a67dc21a7fcba05e0992a39dfd078e4c59 /index.php
parent4d6aa26b5d07e961d4029753a470389718f20a9b (diff)
license block for source code
Added GNU Affero GPL license block to source code. Added name "LACONICA". I think it should work fine. darcs-hash:20080514192648-84dde-a430dc438a4e3741c62ccf30ee7f85ecc968b159.gz
Diffstat (limited to 'index.php')
-rw-r--r--index.php21
1 files changed, 19 insertions, 2 deletions
diff --git a/index.php b/index.php
index ee17b73d0..812239e3d 100644
--- a/index.php
+++ b/index.php
@@ -1,7 +1,24 @@
<?php
+/*
+ * Laconica - a distributed open-source microblogging tool
+ * Copyright (C) 2008, Controlez-Vous, Inc.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
define('INSTALLDIR', dirname(__FILE__));
-define('MICROBLOG', true);
+define('LACONICA', true);
require_once(INSTALLDIR . "/common.php");
@@ -14,7 +31,7 @@ if (file_exists($actionfile)) {
if (function_exists($action_function)) {
call_user_func($action_function);
} else {
- // redirect to main
+ common_user_error(_t('Unknown action'));
}
?> \ No newline at end of file