Hi, there is two things to it.
First, make sure app/lib/propel is in your include_path.
Secondly, you need to use databases.xml to initialize your propel
connections.
Oh, and you need to set use_database to true in settings.xml
BR,
Niklas
28.1.2012 23.13, Romuald Kowalczyk kirjoitti:
Hi
Can anyone guide me on using propel with agavi?
I have my model in app/lib/propel and project-conf.php in app/config.
But my problem is with loading php files.
For example. I have ContactQuery class. When I try to use it (new
ContactQuery()) i get error because file is not loaded.
Do I have to add something to autoload.xml?
I know these are simple things but I can't find anything about it.
_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users