// Load all classes for the application
foreach ($lowerClasses as $class) {
// Try to load the application classes
- ClassLoader::getSelfInstance()->scanClassPath(sprintf("%s/%s/%s", $cfg->getConfigEntry('application_path'), $cfg->getConfigEntry('app_name'), $class));
+ ClassLoader::getSelfInstance()->scanClassPath(sprintf('%s/%s/%s', $cfg->getConfigEntry('application_path'), $cfg->getConfigEntry('app_name'), $class));
} // END - foreach
// Clean up the global namespace
$searchInstance,
// Only look for these array elements ("keys")
array(
- self::DB_COLUMN_NODE_ID,
- self::DB_COLUMN_EXTERNAL_IP,
- self::DB_COLUMN_LISTEN_PORT,
+ self::DB_COLUMN_NODE_ID => TRUE,
+ self::DB_COLUMN_EXTERNAL_IP => TRUE,
+ self::DB_COLUMN_LISTEN_PORT => TRUE,
)
);
* @return void
*/
protected function socketErrorOperationInProgressHandler ($socketResource, array $recipientData) {
+ $type = socket_get_option($socketResource, SOL_SOCKET, SO_TYPE);
+ die('type='.$type.PHP_EOL);
self::createDebugInstance(__CLASS__)->debugOutput('CONNECTION-HELPER[' . __LINE__ . ']: Operation is now in progress, this is usual for non-blocking connections and is no bug.');
}
}