mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
remember to fix is_executable()
not done yet
This commit is contained in:
@@ -3,19 +3,20 @@
|
|||||||
+ ----------------------------------------------------------------------------+
|
+ ----------------------------------------------------------------------------+
|
||||||
| e107 website system
|
| e107 website system
|
||||||
|
|
|
|
||||||
| <EFBFBD>Steve Dunstan 2001-2002
|
| Copyright (C) 2001-2009 e107 Inc
|
||||||
| http://e107.org
|
| http://e107.org/
|
||||||
| jalist@e107.org
|
|
|
||||||
|
|
|
|
||||||
| Released under the terms and conditions of the
|
| Released under the terms and conditions of the
|
||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org/).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_admin/cron.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_admin/cron.php,v $
|
||||||
| $Revision: 1.13 $
|
| $Revision: 1.14 $
|
||||||
| $Date: 2009-10-25 15:23:28 $
|
| $Date: 2009-11-10 15:33:00 $
|
||||||
| $Author: e107coders $
|
| $Author: marj_nl_fr $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once('../class2.php');
|
require_once('../class2.php');
|
||||||
if (!getperms('U'))
|
if (!getperms('U'))
|
||||||
{
|
{
|
||||||
@@ -133,6 +134,8 @@ class cron
|
|||||||
$mes->add("Active Crons: <b>".count($list)."</b>", E_MESSAGE_INFO);
|
$mes->add("Active Crons: <b>".count($list)."</b>", E_MESSAGE_INFO);
|
||||||
$mes->add("Last cron refresh was ".$ago.' seconds ago.', E_MESSAGE_INFO);
|
$mes->add("Last cron refresh was ".$ago.' seconds ago.', E_MESSAGE_INFO);
|
||||||
|
|
||||||
|
//FIXME: for Windows, the is_executable() function only checks the file
|
||||||
|
// extensions of exe, com, bat and cmd.
|
||||||
if(!is_executable(e_BASE."cron.php"))
|
if(!is_executable(e_BASE."cron.php"))
|
||||||
{
|
{
|
||||||
$mes->add("Please CHMOD /cron.php to 755" , E_MESSAGE_WARNING);
|
$mes->add("Please CHMOD /cron.php to 755" , E_MESSAGE_WARNING);
|
||||||
|
@@ -3,20 +3,17 @@
|
|||||||
+ ----------------------------------------------------------------------------+
|
+ ----------------------------------------------------------------------------+
|
||||||
| e107 website system
|
| e107 website system
|
||||||
|
|
|
|
||||||
| <EFBFBD>Steve Dunstan 2001-2002
|
| Copyright (C) 2001-2009 e107 Inc
|
||||||
| http://e107.org
|
| http://e107.org/
|
||||||
| jalist@e107.org
|
|
|
||||||
|
|
|
|
||||||
| Released under the terms and conditions of the
|
| Released under the terms and conditions of the
|
||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org/).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_admin/mailout.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_admin/mailout.php,v $
|
||||||
| $Revision: 1.22 $
|
| $Revision: 1.23 $
|
||||||
| $Date: 2009-10-29 11:32:57 $
|
| $Date: 2009-11-10 15:32:57 $
|
||||||
| $Author: marj_nl_fr $
|
| $Author: marj_nl_fr $
|
||||||
|
|
|
||||||
| Work in progress - supplementary mailer plugin
|
|
||||||
|
|
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
|
|
||||||
Features:
|
Features:
|
||||||
@@ -1211,6 +1208,8 @@ function show_prefs()
|
|||||||
<tr>
|
<tr>
|
||||||
<td>Auto-process script</td><td><b>".substr($_SERVER['DOCUMENT_ROOT'],0,-1).e_HANDLER_ABS."bounce_handler.php</b>";
|
<td>Auto-process script</td><td><b>".substr($_SERVER['DOCUMENT_ROOT'],0,-1).e_HANDLER_ABS."bounce_handler.php</b>";
|
||||||
|
|
||||||
|
//FIXME: for Windows, the is_executable() function only checks the file
|
||||||
|
// extensions of exe, com, bat and cmd.
|
||||||
if(!is_executable(e_HANDLER."bounce_handler.php"))
|
if(!is_executable(e_HANDLER."bounce_handler.php"))
|
||||||
{
|
{
|
||||||
//FIXME hardcoded text and wrong info
|
//FIXME hardcoded text and wrong info
|
||||||
|
Reference in New Issue
Block a user