Hey, I have a MAMP server running on my Mac with PHP 5.3.28 , My Production runs 5.5.16.
Both run Phalcon 1.3.2.
I have a file called "uuid.php" in my "app/plugins" folder, And also in "loader.php", I've added
$loader->registerDirs(
array(
$config->application->controllersDir,
$config->application->modelsDir,
$config->application->pluginsDir
)
)->register();
This works well on development and autoloads my uuid.php file, but when moved to production I get an error message saying the class UUID doesn't exist, and this is solved only when I manually include the file in the specific class:
include_once $config->application->pluginsDir . 'uuid.php';
I'm not sure what's the huge difference between dev/prod or if I'm missing anything. Would love some insights / tips.
Thanks, Shai :)