]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
move markdown require to common
authorEvan Prodromou <evan@prodromou.name>
Mon, 30 Jun 2008 17:05:45 +0000 (13:05 -0400)
committerEvan Prodromou <evan@prodromou.name>
Mon, 30 Jun 2008 17:05:45 +0000 (13:05 -0400)
darcs-hash:20080630170545-84dde-7bd95c43f3943e9cc5bf9ec6f57da0ff12204601.gz

actions/doc.php
lib/common.php

index 6c88c4200c44a759d6ddc108f32c9c02a9284703..728bf24b1c842bafb626049c515ae3877e4deeed 100644 (file)
@@ -19,8 +19,6 @@
 
 if (!defined('LACONICA')) { exit(1); }
 
-require_once('markdown.php');
-
 class DocAction extends Action {
 
        function handle($args) {
index 1a61eda6dbe3d361e221b71ea97d6f9a3febb64d..e16d8d078a1fcbfc58df171422d96b9f8bc957e9 100644 (file)
@@ -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');