We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f9038f commit 9fc0394Copy full SHA for 9fc0394
src/SynapsePlugin.php
@@ -32,10 +32,11 @@ public function bootstrap(PluginApplicationInterface $app): void
32
{
33
parent::bootstrap($app);
34
35
- // Load plugin configuration
36
- $configPath = $this->getConfigPath();
37
- if (file_exists($configPath . 'synapse.php')) {
38
- Configure::load('Synapse.synapse');
+ Configure::load('Synapse.synapse');
+
+ // Load app specific config file.
+ if (file_exists(ROOT . DS . 'config' . DS . 'app_synapse.php')) {
39
+ Configure::load('app_synapse');
40
}
41
42
0 commit comments