diff options
author | redmatrix <git@macgirvin.com> | 2016-05-27 23:57:47 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-05-27 23:57:47 -0700 |
commit | ac4688eac087854bf8cb0c893d7a79052ad63a20 (patch) | |
tree | 1dba1fae0e25ffe07ccbe4406a2900535429b764 /boot.php | |
parent | ab6eb1c4b264b32e7feece290a2463eb747579ed (diff) | |
download | volse-hubzilla-ac4688eac087854bf8cb0c893d7a79052ad63a20.tar.gz volse-hubzilla-ac4688eac087854bf8cb0c893d7a79052ad63a20.tar.bz2 volse-hubzilla-ac4688eac087854bf8cb0c893d7a79052ad63a20.zip |
allow objs to represent inventory
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -48,7 +48,7 @@ define ( 'PLATFORM_NAME', 'hubzilla' ); define ( 'STD_VERSION', '1.7.1' ); define ( 'ZOT_REVISION', 1.1 ); -define ( 'DB_UPDATE_VERSION', 1168 ); +define ( 'DB_UPDATE_VERSION', 1169 ); /** @@ -691,7 +691,7 @@ function startup() { class ZotlabsAutoloader { static public function loader($className) { $filename = str_replace('\\', '/', $className) . ".php"; - if (file_exists($filename)) { + if(file_exists($filename)) { include($filename); if (class_exists($className)) { return TRUE; @@ -702,7 +702,7 @@ class ZotlabsAutoloader { if(! $arr[0]) $arr = array_shift($arr); $filename = 'addon/' . lcfirst($arr[0]) . '/' . $arr[1] . ((count($arr) === 2) ? '.php' : '/' . $arr[2] . ".php"); - if (file_exists($filename)) { + if(file_exists($filename)) { include($filename); if (class_exists($className)) { return TRUE; |