Script task can't execute pmfunction defined in plugin after timer event
This commit is contained in:
william barra
2016-10-12 15:27:49 -04:00
parent 25b36ed87c
commit 5cd5216b39

View File

@@ -207,6 +207,13 @@ try {
eprintln('WARNING! No server info found!', 'red');
}
$sSerializedFile = PATH_DATA_SITE . 'plugin.singleton';
if (file_exists($sSerializedFile)) {
$pluginRegistry = PMPluginRegistry::loadSingleton($sSerializedFile);
}
G::LoadClass('pmScript');
//DB
$phpCode = '';
@@ -334,10 +341,6 @@ try {
G::outRes( G::LoadTranslation("ID_EXCEPTION_LOG_INTERFAZ", array($token)) . "\n" );
}
//Functions
function processWorkspace()
{