this bug 6018 was solved, there were some mistakes when you made to run the cron
This commit is contained in:
@@ -2916,6 +2916,18 @@ class G
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* isHttpRequest
|
||||
*
|
||||
* @return boolean true or false
|
||||
*/
|
||||
function isHttpRequest(){
|
||||
if( isset($_SERVER['SERVER_SOFTWARE']) && strpos(strtolower($_SERVER['SERVER_SOFTWARE']), 'apache') !== false ){
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the type of a variable
|
||||
* Returns the type of the PHP variable var.
|
||||
|
||||
@@ -4191,12 +4191,12 @@ class XmlForm_Field_Image extends XmlForm_Field
|
||||
// function mask to php
|
||||
function masktophp ($mask){
|
||||
$tmp = str_replace("%", "", $mask);
|
||||
if(ereg('b',$tmp)) {
|
||||
if(preg_match('/b/',$tmp)) {
|
||||
$tmp2 = str_replace("b", "M", $tmp);
|
||||
$value=date($tmp2);
|
||||
return $value;
|
||||
}
|
||||
if(ereg('B',$tmp)) {
|
||||
if(preg_match('/B/',$tmp)) {
|
||||
$tmp2 = str_replace("B", "F", $tmp);
|
||||
$value=date($tmp2);
|
||||
return $value;
|
||||
|
||||
@@ -247,7 +247,7 @@ function executePlugins(){
|
||||
$className = $filename . 'ClassCron';
|
||||
|
||||
include_once ( $pathCronPlugins . $file ); //$filename. ".php"
|
||||
$oPlugin =& new $className();
|
||||
$oPlugin = new $className();
|
||||
if (method_exists($oPlugin, 'executeCron')) {
|
||||
$oPlugin->executeCron();
|
||||
setExecutionMessage("Executing Pentaho Reports Plugin");
|
||||
|
||||
@@ -254,6 +254,9 @@ class spoolRun {
|
||||
$holdcc = array ();
|
||||
$holdbcc = array ();
|
||||
$text = trim($this->fileData['to']);
|
||||
|
||||
$textcc ='';
|
||||
$textbcc='';
|
||||
if( isset($this->fileData['cc']) && trim($this->fileData['cc']) != '' ) {
|
||||
$textcc = trim($this->fileData['cc']);
|
||||
}
|
||||
|
||||
@@ -351,7 +351,7 @@ switch($_POST['action']) {
|
||||
break;
|
||||
|
||||
case 'pauseCase':
|
||||
$unpausedate = $_POST['unpausedate'];
|
||||
$unpauseDate = $_POST['unpausedate'];
|
||||
$oCase = new Cases();
|
||||
if( isset($_POST['APP_UID']) && isset($_POST['DEL_INDEX']) ) {
|
||||
$APP_UID = $_POST['APP_UID'];
|
||||
|
||||
Reference in New Issue
Block a user