diff --git a/actions/doc.php b/actions/doc.php index 6c88c4200c..728bf24b1c 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 1a61eda6db..e16d8d078a 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');