Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: with latest phalcon 5 Phalcon\Config is moved to Phalcon\Config\Config #1544

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions templates/module/variables.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,27 @@
"config-type": {
"php": {
"configLoader": "new Config(include __DIR__ . '/config/config.php')",
"iniConfigImport": "use Phalcon\\Config;",
"iniConfigImport": "use Phalcon\\Config\\Config;",
"configName": "__DIR__ . '/config/config.php'",
"useConfig": ""
},
"ini": {
"configLoader": "new Ini(__DIR__ . '/config/config.ini')",
"iniConfigImport": "use Phalcon\\Config\\Adapter\\Ini;",
"configName": "__DIR__ . '/config/config.ini'",
"useConfig": "use Phalcon\\Config;"
"useConfig": "use Phalcon\\Config\\Config;"
},
"yaml": {
"configLoader": "new Yaml(__DIR__ . '/config/config.yaml', array('!local' => function($value) { return __DIR__ . $value; }))",
"iniConfigImport": "use Phalcon\\Config\\Adapter\\Yaml;",
"configName": "__DIR__ . '/config/config.yaml'",
"useConfig": "use Phalcon\\Config;"
"useConfig": "use Phalcon\\Config\\Config;"
},
"json": {
"configLoader": "new Json(__DIR__ . '/config/config.json')",
"iniConfigImport": "use Phalcon\\Config\\Adapter\\Json;",
"configName": "__DIR__ . '/config/config.json'",
"useConfig": "use Phalcon\\Config;"
"useConfig": "use Phalcon\\Config\\Config;"
}
}
}