Skip to content

Commit

Permalink
ucfirst on Module/Entity/Repository etc.
Browse files Browse the repository at this point in the history
switched from ROOT to ROOT_APP
renamed doctrine folder to Doctrine
  • Loading branch information
jakoch committed Aug 16, 2012
1 parent 1818124 commit 86176d8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Installation/Application/Helper.php
Expand Up @@ -167,18 +167,18 @@ public static function getModelPathsForAllModules()
/**
* All Module Entites
*/
$dirs = glob(ROOT_APP . '/modules/' . '[a-zA-Z]*', GLOB_ONLYDIR);
$dirs = glob(ROOT_APP . '/Modules/' . '[a-zA-Z]*', GLOB_ONLYDIR);

foreach ($dirs as $key => $dir_path) {
// Entity Path
$entity_path = $dir_path . DIRECTORY_SEPARATOR . 'model' . DIRECTORY_SEPARATOR . 'entities' . DIRECTORY_SEPARATOR;
$entity_path = $dir_path . '/Model/Entities/';

if (is_dir($entity_path)) {
$model_dirs[] = $entity_path;
}

// Repository Path
$repos_path = $dir_path . DIRECTORY_SEPARATOR . 'model' . DIRECTORY_SEPARATOR . 'repositories' . DIRECTORY_SEPARATOR;
$repos_path = $dir_path . '/Model/Repositories/';

if (is_dir($repos_path)) {
$model_dirs[] = $repos_path;
Expand Down Expand Up @@ -230,7 +230,7 @@ public static function getDoctrineEntityManager($connectionParams = null)
$config->setMetadataCacheImpl($cache);

// setup Proxy Dir
$config->setProxyDir(realpath(ROOT . 'application\doctrine'));
$config->setProxyDir(realpath(ROOT_APP . 'Doctrine'));
$config->setProxyNamespace('proxies');

// setup Annotation Driver
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 86176d8

Please sign in to comment.