mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Revert "actually, just ensure the path is slash terminated"
This reverts commit e88a2bcdbb
.
This commit is contained in:
parent
e88a2bcdbb
commit
43b37cd608
2 changed files with 3 additions and 3 deletions
|
@ -18,7 +18,7 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* CakePlugin is responsible for loading and unloading plugins. It also can
|
||||
* CakePlugin is responsible for loading and unloading plugins. It also can
|
||||
* retrieve plugin paths and load their bootstrap and routes files.
|
||||
*
|
||||
* @package Cake.Core
|
||||
|
@ -90,7 +90,7 @@ class CakePlugin {
|
|||
}
|
||||
}
|
||||
} else {
|
||||
self::$_plugins[$plugin] = rtrim($config, DS) . DS;
|
||||
self::$_plugins[$plugin] = $config;
|
||||
}
|
||||
|
||||
if (empty(self::$_plugins[$plugin]['path'])) {
|
||||
|
|
|
@ -24,7 +24,7 @@ $pluginDot = empty($plugin) ? null : $plugin . '.';
|
|||
</p>
|
||||
<p class="error">
|
||||
<strong><?php echo __d('cake_dev', 'Error'); ?>: </strong>
|
||||
<?php echo __d('cake_dev', 'Create the class %s below in file: %s', '<em>' . $class . '</em>', (empty($plugin) ? APP_DIR . DS : CakePlugin::path($plugin)) . 'Controller' . DS . 'Component' . DS . $class . '.php'); ?>
|
||||
<?php echo __d('cake_dev', 'Create the class %s below in file: %s', '<em>' . $class . '</em>', (empty($plugin) ? APP_DIR : CakePlugin::path($plugin)) . DS . 'Controller' . DS . 'Component' . DS . $class . '.php'); ?>
|
||||
</p>
|
||||
<pre>
|
||||
<?php
|
||||
|
|
Loading…
Reference in a new issue