Arreglo de cron

This commit is contained in:
Brayan Osmar Pereyra Suxo
2014-07-01 16:13:46 -04:00
parent 373abf6470
commit 1d17893c90
4 changed files with 14 additions and 2 deletions

View File

@@ -2840,8 +2840,8 @@ class Bootstrap
public static function displayMaveriksNotLoadedError()
{
if (! class_exists('\Maveriks\Util\ClassLoader')) {
require PATH_TRUNK . "framework/src/Maveriks/Pattern/Mvc/View.php";
require PATH_TRUNK . "framework/src/Maveriks/Pattern/Mvc/PhtmlView.php";
require PATH_TRUNK . "framework/src/Maveriks/pattern/Mvc/View.php";
require PATH_TRUNK . "framework/src/Maveriks/pattern/Mvc/PhtmlView.php";
$message = "Please review your apache virtual host configuration file, and be sure you have the following rules:

View File

@@ -23,6 +23,7 @@ define('PATH_HOME', $pathhome);
define('PATH_TRUNK', $pathTrunk);
define('PATH_OUTTRUNK', $pathOutTrunk);
require_once PATH_TRUNK . "framework/src/Maveriks/Util/ClassLoader.php";
require_once (PATH_HOME . 'engine' . PATH_SEP . 'config' . PATH_SEP . 'paths.php');
require_once PATH_CORE . 'classes' . PATH_SEP . 'class.system.php';

View File

@@ -39,6 +39,7 @@ if (!defined('PATH_HOME')) {
define('PATH_OUTTRUNK', $pathOutTrunk);
require_once (PATH_HOME . 'engine' . PATH_SEP . 'config' . PATH_SEP . 'paths.php');
require_once PATH_TRUNK . "framework/src/Maveriks/Util/ClassLoader.php";
G::LoadThirdParty('pear/json','class.json');
G::LoadThirdParty('smarty/libs','Smarty.class');

View File

@@ -1495,5 +1495,15 @@ class PMPluginRegistry
{
$this->_restServiceEnabled[$sNamespace] = $enable;
}
/**
* Return all cron files registered
*
* @return array
*/
public function getCronFiles()
{
return $this->_aCronFiles;
}
}