mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 21:57:51 +02:00
Disable cron instructions when not needed
This commit is contained in:
@@ -329,7 +329,7 @@ class cron_admin_ui extends e_admin_ui
|
|||||||
{
|
{
|
||||||
$mes->add("Please CHMOD /cron.php to 755 ", E_MESSAGE_WARNING);
|
$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 />
|
$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.";
|
Using your server control panel (eg. cPanel,Plesk etc.) please create a crontab to run this command on your server every minute.";
|
||||||
|
Reference in New Issue
Block a user