Ok, i've read the Configure source code. It Says that i should do
Configure::load($filename). $filename must be in app/config/ and end
with .php But i should not include the extension in the name. Then,
i've something like:

Configure::load("my_config"). Now it works. But says that i've to set
a $config variable. Don't really know why. I just did $config=true.

On Jun 29, 9:23 am, Santiago Basulto <[email protected]>
wrote:
> Hello People.
>
> I've been running into trouble when trying to organize the structure
> of one of my components. First, my Component needs to use some utility
> classes. I've placed them in the app/vendors folder, but i've read
> that folder will be no longer available. Where can i put those
> classes? The plugins doesn't seem to be suitable for my needs.
>
> I've some problem with the configuration too. I've placed a file in
> /app/config/my_config.php where I issue several Configure::write(). In
> the component i try to load it with
> Configure::load("/app/config/my_config.php") but doesn't work, i can't
> see the config values.
>
> Can you help me?
>
> Thanks a lot!
>
> --
> Santiago Basulto.-

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to