mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Updating Lib package usage in App::load()
This commit is contained in:
parent
bab30bd48d
commit
d890896777
2 changed files with 2 additions and 2 deletions
|
@ -490,7 +490,7 @@ class App {
|
|||
$paths = self::path($package, $plugin);
|
||||
|
||||
if (empty($plugin)) {
|
||||
$appLibs = empty(self::$__packages['libs']) ? APPLIBS : current(self::$__packages['libs']);
|
||||
$appLibs = empty(self::$__packages['Lib']) ? APPLIBS : current(self::$__packages['Lib']);
|
||||
$paths[] = $appLibs . self::$__classMap[$className] . DS;
|
||||
$paths[] = LIBS . self::$__classMap[$className] . DS;
|
||||
}
|
||||
|
|
|
@ -89,7 +89,7 @@ class CacheTest extends CakeTestCase {
|
|||
*/
|
||||
function testConfigWithLibAndPluginEngines() {
|
||||
App::build(array(
|
||||
'libs' => array(LIBS . 'tests' . DS . 'test_app' . DS . 'libs' . DS),
|
||||
'Lib' => array(LIBS . 'tests' . DS . 'test_app' . DS . 'libs' . DS),
|
||||
'plugins' => array(LIBS . 'tests' . DS . 'test_app' . DS . 'plugins' . DS)
|
||||
), true);
|
||||
|
||||
|
|
Loading…
Reference in a new issue