mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
a couple of find/replace oversights
This commit is contained in:
parent
42c5c6e7fe
commit
ef684c3d94
1 changed files with 4 additions and 1 deletions
|
@ -928,7 +928,10 @@ class HtmlHelper extends AppHelper {
|
|||
* @param string $path Path with config file
|
||||
* @return mixed False to error or loaded configs
|
||||
*/
|
||||
public function loadConfig($configFile, $path = APP . 'Config' . DS) {
|
||||
public function loadConfig($configFile, $path = null) {
|
||||
if (!$path) {
|
||||
$path = APP . 'Config' . DS;
|
||||
}
|
||||
$file = null;
|
||||
$reader = 'php';
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue