if ((class_exists('Registry')) && (Registry::isInitialized() === false)) {
// Initialize the registry automatically
$this->initInstance();
if ((class_exists('Registry')) && (Registry::isInitialized() === false)) {
// Initialize the registry automatically
$this->initInstance();