@@ 80-84 (lines=5) @@ | ||
77 | ||
78 | if ($sPortal != '..' && $sPortal != '.') { |
|
79 | ||
80 | if (file_exists(str_replace('core', 'conf', __DIR__).DIRECTORY_SEPARATOR.$sName.'.conf-local')) { |
|
81 | ||
82 | $sJsonFile = str_replace('core', 'conf', __DIR__).DIRECTORY_SEPARATOR.$sName.'.conf-local'; |
|
83 | $base = self::_mergeAndGetConf($sJsonFile, $base); |
|
84 | } |
|
85 | ||
86 | if (file_exists(str_replace('core', 'src'.DIRECTORY_SEPARATOR.$sPortal.DIRECTORY_SEPARATOR.'app'.DIRECTORY_SEPARATOR.'conf', __DIR__).DIRECTORY_SEPARATOR.$sName.'.conf-local')) { |
|
87 | ||
@@ 98-102 (lines=5) @@ | ||
95 | $base = self::_mergeAndGetConf($sJsonFile, $base); |
|
96 | } |
|
97 | ||
98 | if (file_exists(str_replace('core', 'conf', __DIR__).DIRECTORY_SEPARATOR.$sName.'.conf-dev') && getenv('DEV') == 1) { |
|
99 | ||
100 | $sJsonFile = str_replace('core', 'conf', __DIR__).DIRECTORY_SEPARATOR.$sName.'.conf-dev'; |
|
101 | $base = self::_mergeAndGetConf($sJsonFile, $base); |
|
102 | } |
|
103 | ||
104 | if (file_exists(str_replace('core', 'src'.DIRECTORY_SEPARATOR.$sPortal.DIRECTORY_SEPARATOR.'app'.DIRECTORY_SEPARATOR.'conf', __DIR__).DIRECTORY_SEPARATOR.$sName.'.conf-dev') && getenv('PROD') == 1) { |
|
105 | ||
@@ 110-114 (lines=5) @@ | ||
107 | $base = self::_mergeAndGetConf($sJsonFile, $base); |
|
108 | } |
|
109 | ||
110 | if (file_exists(str_replace('core', 'conf', __DIR__).DIRECTORY_SEPARATOR.$sName.'.conf-dev') && getenv('PROD') == 1) { |
|
111 | ||
112 | $sJsonFile = str_replace('core', 'conf', __DIR__).DIRECTORY_SEPARATOR.$sName.'.conf-prod'; |
|
113 | $base = self::_mergeAndGetConf($sJsonFile, $base); |
|
114 | } |
|
115 | ||
116 | if (file_exists(str_replace('core', 'src'.DIRECTORY_SEPARATOR.$sPortal.DIRECTORY_SEPARATOR.'app'.DIRECTORY_SEPARATOR.'conf', __DIR__).DIRECTORY_SEPARATOR.$sName.'.conf-dev') && getenv('PREPROD') == 1) { |
|
117 | ||
@@ 122-126 (lines=5) @@ | ||
119 | $base = self::_mergeAndGetConf($sJsonFile, $base); |
|
120 | } |
|
121 | ||
122 | if (file_exists(str_replace('core', 'conf', __DIR__).DIRECTORY_SEPARATOR.$sName.'.conf-dev') && getenv('PREPROD') == 1) { |
|
123 | ||
124 | $sJsonFile = str_replace('core', 'conf', __DIR__).DIRECTORY_SEPARATOR.$sName.'.conf-pprod'; |
|
125 | $base = self::_mergeAndGetConf($sJsonFile, $base); |
|
126 | } |
|
127 | ||
128 | if (file_exists(str_replace('core', 'src'.DIRECTORY_SEPARATOR.$sPortal.DIRECTORY_SEPARATOR.'app'.DIRECTORY_SEPARATOR.'conf', __DIR__).DIRECTORY_SEPARATOR.$sName.'.conf-dev') && getenv('RECETTE') == 1) { |
|
129 | ||
@@ 134-138 (lines=5) @@ | ||
131 | $base = self::_mergeAndGetConf($sJsonFile, $base); |
|
132 | } |
|
133 | ||
134 | if (file_exists(str_replace('core', 'conf', __DIR__).DIRECTORY_SEPARATOR.$sName.'.conf-dev') && getenv('RECETTE') == 1) { |
|
135 | ||
136 | $sJsonFile = str_replace('core', 'conf', __DIR__).DIRECTORY_SEPARATOR.$sName.'.conf-rec'; |
|
137 | $base = self::_mergeAndGetConf($sJsonFile, $base); |
|
138 | } |
|
139 | ||
140 | if (file_exists(str_replace('core', 'src'.DIRECTORY_SEPARATOR.$sPortal.DIRECTORY_SEPARATOR.'app'.DIRECTORY_SEPARATOR.'conf', __DIR__).DIRECTORY_SEPARATOR.$sName.'.conf-local')) { |
|
141 |