mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Remove odd inflection.
This additional inflection isn't needed. People can type the classname they want. Refs #2514
This commit is contained in:
parent
e770c7a72d
commit
a4740f02f1
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ class AclComponent extends Component {
|
|||
*/
|
||||
public function __construct(ComponentCollection $collection, $settings = array()) {
|
||||
parent::__construct($collection, $settings);
|
||||
$name = Inflector::camelize(strtolower(Configure::read('Acl.classname')));
|
||||
$name = Configure::read('Acl.classname');
|
||||
if (!class_exists($name)) {
|
||||
list($plugin, $name) = pluginSplit($name, true);
|
||||
App::uses($name . 'Component', $plugin . 'Controller/Component');
|
||||
|
|
Loading…
Reference in a new issue