I have a pair of files that contain some global functions. Format
helpers.
They used to load fine with autoloading. I checked the ../symfony/
config/config/autoload.yml file, and it still had original stuff in it
WITH recursion.
I added an autoload.yml file of my own in $PROJECT/config, and it did
no good.
Anyone ever have autoload stop working all of a sudden for custome
stuff?
Here are the relevant file contents.
<original autoload.yml>
autoload:
# project
project:
name: project
path: %SF_LIB_DIR%
recursive: true
exclude: [model, symfony, vendor]
project_model:
name: project model
path: %SF_LIB_DIR%/model
recursive: true
# application
application:
name: application
path: %SF_APP_LIB_DIR%
recursive: true
modules:
name: module
path: %SF_APP_DIR%/modules/*/lib
prefix: 1
recursive: true
</original autoload.yml>
<my autoload.yml in $PROJECT/config/autoload.yml>
autoload:
otherHelpers:
name: otherHelpers
path: %SF_LIB_DIR%/otherHelpers
recursive: true
otherLibs:
name: otherLibs
path: %SF_LIB_DIR%/otherLibs
recursive: true
<my autoload.yml in $PROJECT/config/autoload.yml>
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en