From bd25b696224f2751292def93b561c32847334353 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Thu, 3 May 2007 18:25:12 +0200 Subject: [PATCH] [svn r12281] Fixes bug http://projects.dokeos.com/?do=details&id=1435 --- plugin/messages/functions.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/messages/functions.inc.php b/plugin/messages/functions.inc.php index 9548ea03a0..d35ba8ef4d 100755 --- a/plugin/messages/functions.inc.php +++ b/plugin/messages/functions.inc.php @@ -20,10 +20,10 @@ /** * @package dokeos.survey * @author -* @version $Id: functions.inc.php 12191 2007-04-30 11:06:34Z pcool $ +* @version $Id: functions.inc.php 12281 2007-05-03 16:25:12Z yannoo $ * @todo use database library */ - +if(!function_exists('api_get_path')){header('location: view_message.php');die;} include_once(api_get_path(LIBRARY_PATH).'/online.inc.php'); define ("MESSAGES_DATABASE", "messages");