I’ve created a subfolder (inside protected) called helpers. In there is a file called Utilities.php. To autoload this class I added this path to the configuration file main.php like
'import'=>array( 'application.models.*', 'application.components.*', 'application.helpers.*', 'application.models.generated.*', ),
Now, when I try to use it I get an error:
Any suggestions why this is not working ?
UPDATE: the fact that no one replied is an indication of something stupid, I checked again and indeed, something stupid!