we don't need to force case conversion on anything but the plugin name
This commit is contained in:
parent
0503b11840
commit
0800bd1e19
2
boot.php
2
boot.php
@ -636,7 +636,7 @@ class ZotlabsAutoloader {
|
||||
if($arr && count($arr) > 1) {
|
||||
if(! $arr[0])
|
||||
$arr = array_shift($arr);
|
||||
$filename = 'addon/' . lcfirst($arr[0]) . '/' . ucfirst($arr[1]) . ((count($arr) === 2) ? '.php' : '/' . ucfirst($arr[2]) . ".php");
|
||||
$filename = 'addon/' . lcfirst($arr[0]) . '/' . $arr[1] . ((count($arr) === 2) ? '.php' : '/' . $arr[2] . ".php");
|
||||
if (file_exists($filename)) {
|
||||
include($filename);
|
||||
if (class_exists($className)) {
|
||||
|
Reference in New Issue
Block a user