Skip to content

Instantly share code, notes, and snippets.

@nnarhinen
Created September 28, 2010 15:18
Show Gist options
  • Save nnarhinen/601180 to your computer and use it in GitHub Desktop.
Save nnarhinen/601180 to your computer and use it in GitHub Desktop.
propel.output.dir = ../../../
propel.php.dir = ${propel.output.dir}/app/lib/propel
propel.phpconf.dir = ${propel.output.dir}/app/config
propel.sql.dir = ${propel.output.dir}/dev/db/sql
set_include_path(
get_include_path() . PATH_SEPARATOR .
AgaviConfig::get('core.app_dir').'/lib/propel' . PATH_SEPARATOR .
realpath(dirname(__FILE__).'/../libs')
);
<?xml version="1.0" encoding="UTF-8"?>
<ae:configurations xmlns:ae="http://agavi.org/agavi/config/global/envelope/1.0" xmlns="http://agavi.org/agavi/config/parts/databases/1.0">
<ae:configuration>
<databases default="propelom">
<database name="propelom" class="AgaviPropelDatabase">
<ae:parameter name="config">%core.app_dir%/config/myproj-conf.php</ae:parameter>
</database>
</databases>
</ae:configuration>
</ae:configurations>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment