Arreglo de cron
This commit is contained in:
@@ -2840,8 +2840,8 @@ class Bootstrap
|
|||||||
public static function displayMaveriksNotLoadedError()
|
public static function displayMaveriksNotLoadedError()
|
||||||
{
|
{
|
||||||
if (! class_exists('\Maveriks\Util\ClassLoader')) {
|
if (! class_exists('\Maveriks\Util\ClassLoader')) {
|
||||||
require PATH_TRUNK . "framework/src/Maveriks/Pattern/Mvc/View.php";
|
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/PhtmlView.php";
|
||||||
|
|
||||||
$message = "Please review your apache virtual host configuration file, and be sure you have the following rules:
|
$message = "Please review your apache virtual host configuration file, and be sure you have the following rules:
|
||||||
|
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ define('PATH_HOME', $pathhome);
|
|||||||
define('PATH_TRUNK', $pathTrunk);
|
define('PATH_TRUNK', $pathTrunk);
|
||||||
define('PATH_OUTTRUNK', $pathOutTrunk);
|
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_HOME . 'engine' . PATH_SEP . 'config' . PATH_SEP . 'paths.php');
|
||||||
require_once PATH_CORE . 'classes' . PATH_SEP . 'class.system.php';
|
require_once PATH_CORE . 'classes' . PATH_SEP . 'class.system.php';
|
||||||
|
|
||||||
|
|||||||
@@ -39,6 +39,7 @@ if (!defined('PATH_HOME')) {
|
|||||||
define('PATH_OUTTRUNK', $pathOutTrunk);
|
define('PATH_OUTTRUNK', $pathOutTrunk);
|
||||||
|
|
||||||
require_once (PATH_HOME . 'engine' . PATH_SEP . 'config' . PATH_SEP . 'paths.php');
|
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('pear/json','class.json');
|
||||||
G::LoadThirdParty('smarty/libs','Smarty.class');
|
G::LoadThirdParty('smarty/libs','Smarty.class');
|
||||||
|
|||||||
@@ -1495,5 +1495,15 @@ class PMPluginRegistry
|
|||||||
{
|
{
|
||||||
$this->_restServiceEnabled[$sNamespace] = $enable;
|
$this->_restServiceEnabled[$sNamespace] = $enable;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return all cron files registered
|
||||||
|
*
|
||||||
|
* @return array
|
||||||
|
*/
|
||||||
|
public function getCronFiles()
|
||||||
|
{
|
||||||
|
return $this->_aCronFiles;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user