HOR-2003
Script task can't execute pmfunction defined in plugin after timer event
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user