Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Updated README.md #162

Merged
merged 1 commit into from

2 participants

@oojacoboo

The issue I found while doing this the "Git way" was that the lib locations were not set correctly. Setting these to the plugin folder corrected the issue.

Jacob Thomason Update README.md 1066e1b
@willdurand willdurand merged commit f05b279 into propelorm:master
@willdurand
Owner

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 27, 2012
  1. Update README.md

    Jacob Thomason authored
This page is out of date. Refresh to see the latest.
Showing with 6 additions and 5 deletions.
  1. +6 −5 README.md
View
11 README.md
@@ -35,7 +35,8 @@ Install `Phing` and `Propel`:
### Final step
-Disable the core Propel plugin and enable the `sfPropelORMPlugin` instead:
+Disable the core Propel plugin and enable the `sfPropelORMPlugin` instead. Also, change the location for
+the Propel and Phing libs.
``` php
// config/ProjectConfiguration.class.php
@@ -44,10 +45,10 @@ class ProjectConfiguration extends sfProjectConfiguration
{
public function setup()
{
- // If you're following the SVN way, uncomment the next two lines
- //sfConfig::set('sf_phing_path', sfConfig::get('sf_root_dir').'/lib/vendor/phing');
- //sfConfig::set('sf_propel_path', sfConfig::get('sf_root_dir').'/lib/vendor/propel');
- //sfConfig::set('sf_propel_generator_path', sfConfig::get('sf_root_dir').'/lib/vendor/propel/generator/lib');
+ //setup the location for our phing and propel libs
+ sfConfig::set('sf_phing_path', sfConfig::get('sf_root_dir').'/plugins/sfPropelORMPlugin/lib/vendor/phing/');
+ sfConfig::set('sf_propel_path', sfConfig::get('sf_root_dir').'/plugins/sfPropelORMPlugin/lib/vendor/propel/');
+ sfConfig::set('sf_propel_generator_path', sfConfig::get('sf_root_dir').'/plugins/sfPropelORMPlugin/lib/vendor/propel/generator/lib/');
$this->enablePlugins('sfPropelORMPlugin');
}
Something went wrong with that request. Please try again.