aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-05-27 23:57:47 -0700
committerredmatrix <git@macgirvin.com>2016-05-27 23:57:47 -0700
commitac4688eac087854bf8cb0c893d7a79052ad63a20 (patch)
tree1dba1fae0e25ffe07ccbe4406a2900535429b764 /boot.php
parentab6eb1c4b264b32e7feece290a2463eb747579ed (diff)
downloadvolse-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-xboot.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/boot.php b/boot.php
index c3036b6d7..fec908ce0 100755
--- a/boot.php
+++ b/boot.php
@@ -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;