From f8740674011d360efd729c298cc7ab4c9b72c5dc Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 30 Jun 2008 13:05:45 -0400 Subject: [PATCH] move markdown require to common darcs-hash:20080630170545-84dde-7bd95c43f3943e9cc5bf9ec6f57da0ff12204601.gz --- actions/doc.php | 2 -- lib/common.php | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) 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'); -- 2.39.5