1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-29 10:38:08 +01:00

remember to fix is_executable()

not done yet
This commit is contained in:
marj 2009-11-10 15:33:00 +00:00
parent adbeb3d932
commit 735734ebf4
2 changed files with 19 additions and 17 deletions

View File

@ -3,19 +3,20 @@
+ ----------------------------------------------------------------------------+
| e107 website system
|
| <EFBFBD>Steve Dunstan 2001-2002
| http://e107.org
| jalist@e107.org
| Copyright (C) 2001-2009 e107 Inc
| http://e107.org/
|
|
| 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 $
| $Revision: 1.13 $
| $Date: 2009-10-25 15:23:28 $
| $Author: e107coders $
| $Revision: 1.14 $
| $Date: 2009-11-10 15:33:00 $
| $Author: marj_nl_fr $
+----------------------------------------------------------------------------+
*/
require_once('../class2.php');
if (!getperms('U'))
{
@ -133,6 +134,8 @@ class cron
$mes->add("Active Crons: <b>".count($list)."</b>", 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"))
{
$mes->add("Please CHMOD /cron.php to 755" , E_MESSAGE_WARNING);

View File

@ -3,20 +3,17 @@
+ ----------------------------------------------------------------------------+
| e107 website system
|
| <EFBFBD>Steve Dunstan 2001-2002
| http://e107.org
| jalist@e107.org
| Copyright (C) 2001-2009 e107 Inc
| http://e107.org/
|
|
| 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 $
| $Revision: 1.22 $
| $Date: 2009-10-29 11:32:57 $
| $Revision: 1.23 $
| $Date: 2009-11-10 15:32:57 $
| $Author: marj_nl_fr $
|
| Work in progress - supplementary mailer plugin
|
+----------------------------------------------------------------------------+
Features:
@ -1210,7 +1207,9 @@ function show_prefs()
<tr>
<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"))
{
//FIXME hardcoded text and wrong info