summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-30 13:05:45 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-30 13:05:45 -0400
commitf8740674011d360efd729c298cc7ab4c9b72c5dc (patch)
tree74a8835eaa00e192d703a412d987b914e98436c5
parentc64f137497cb2963445b34e17ed45a3044135bab (diff)
move markdown require to common
darcs-hash:20080630170545-84dde-7bd95c43f3943e9cc5bf9ec6f57da0ff12204601.gz
-rw-r--r--actions/doc.php2
-rw-r--r--lib/common.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/actions/doc.php b/actions/doc.php
index 6c88c4200..728bf24b1 100644
--- a/actions/doc.php
+++ b/actions/doc.php
@@ -19,8 +19,6 @@
if (!defined('LACONICA')) { exit(1); }
-require_once('markdown.php');
-
class DocAction extends Action {
function handle($args) {
diff --git a/lib/common.php b/lib/common.php
index 1a61eda6d..e16d8d078 100644
--- a/lib/common.php
+++ b/lib/common.php
@@ -92,3 +92,5 @@ require_once(INSTALLDIR.'/classes/Subscription.php');
require_once(INSTALLDIR.'/classes/User.php');
require_once(INSTALLDIR.'/classes/Confirm_address.php');
require_once(INSTALLDIR.'/classes/Remember_me.php');
+
+require_once('markdown.php');