aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-05-14 17:30:06 -0700
committerredmatrix <git@macgirvin.com>2016-05-14 17:30:06 -0700
commit0800bd1e1927a2093bf2693762a9b6cef7ae529e (patch)
tree4393482a2f9325ad2b0bf77c092d6d9450e61e0c
parent0503b11840d170a7f22d0392d08677c19b663ac2 (diff)
downloadvolse-hubzilla-0800bd1e1927a2093bf2693762a9b6cef7ae529e.tar.gz
volse-hubzilla-0800bd1e1927a2093bf2693762a9b6cef7ae529e.tar.bz2
volse-hubzilla-0800bd1e1927a2093bf2693762a9b6cef7ae529e.zip
we don't need to force case conversion on anything but the plugin name
-rwxr-xr-xboot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index e90cd7c15..86e61c6bc 100755
--- a/boot.php
+++ b/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)) {