1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-14 17:42:10 +02:00

Disable cron instructions when not needed

This commit is contained in:
CaMer0n 2011-05-18 08:56:33 +00:00
parent 754a28430e
commit 1d20338f63

View File

@ -329,7 +329,7 @@ class cron_admin_ui extends e_admin_ui
{
$mes->add("Please CHMOD /cron.php to 755 ", E_MESSAGE_WARNING);
}
//elseif (!$active) - always show instructions
elseif (!$active) // show instructions
{
$setpwd_message = "Use the following Cron Command: <b style='color:black'>".$_SERVER['DOCUMENT_ROOT'].e_HTTP."cron.php ".$pref['e_cron_pwd']."</b><br />
Using your server control panel (eg. cPanel,Plesk etc.) please create a crontab to run this command on your server every minute.";