In backend/Modue.php in OSX using php 5.6.23 I have registered a namepace:
$loader->registerNamespaces([ 'Multiple\\Backend\\Forms' => SITE_ROOT . 'apps/backend/forms' ]);
In the backend controller I can:
$form = new \Multiple\Backend\Forms\Admin\Member(); $form = new \Multiple\Backend\Forms\Settings\Members();
However in Centos php 5.6.24 the classes cannot be found and I have to declare the follwoing to reach the forms:
$loader->registerNamespaces([ 'Multiple\\Backend\\Forms' => SITE_ROOT . 'apps/backend/forms', 'Multiple\\Backend\\Forms\\Admin' => SITE_ROOT . 'apps/backend/forms/news', 'Multiple\\Backend\\Forms\\Settings' => SITE_ROOT . 'apps/backend/forms/forum' ]);
Can anyone comment on what is happening here? Both phalcon versions are 3.0.0 and were built in their respective environments.