From 82e93553320dc3a11921a92c98ca89f48679cc0a Mon Sep 17 00:00:00 2001 From: secretr Date: Thu, 31 May 2012 10:57:08 +0000 Subject: [PATCH] notification path fix --- e107_admin/cron.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e107_admin/cron.php b/e107_admin/cron.php index 85f8641ed..96d128a79 100644 --- a/e107_admin/cron.php +++ b/e107_admin/cron.php @@ -2,7 +2,7 @@ /* * e107 website system * - * Copyright (C) 2008-2010 e107 Inc (e107.org) + * Copyright (C) 2008-2012 e107 Inc (e107.org) * Released under the terms and conditions of the * GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * @@ -344,7 +344,7 @@ class cron_admin_ui extends e_admin_ui } elseif (!$active) // show instructions { - $setpwd_message = "Use the following Cron Command: ".$_SERVER['DOCUMENT_ROOT'].e_HTTP."cron.php ".$pref['e_cron_pwd']."
+ $setpwd_message = "Use the following Cron Command: ".rtrim($_SERVER['DOCUMENT_ROOT'], '/').e_HTTP."cron.php ".$pref['e_cron_pwd']."
Using your server control panel (eg. cPanel,Plesk etc.) please create a crontab to run this command on your server every minute."; $mes->add($setpwd_message, E_MESSAGE_INFO); }