parent
fa90b0a1c3
commit
70baeb55a1
|
@ -1721,6 +1721,7 @@ class H5PCore {
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->detectSiteType();
|
$this->detectSiteType();
|
||||||
|
$this->fullPluginPath = preg_replace('/\/[^\/]+[\/]?$/', '' , dirname(__FILE__));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -2458,6 +2459,7 @@ class H5PCore {
|
||||||
$platformInfo['autoFetchingDisabled'] = $fetchingDisabled;
|
$platformInfo['autoFetchingDisabled'] = $fetchingDisabled;
|
||||||
$platformInfo['uuid'] = $this->h5pF->getOption('site_uuid', '');
|
$platformInfo['uuid'] = $this->h5pF->getOption('site_uuid', '');
|
||||||
$platformInfo['siteType'] = $this->h5pF->getOption('site_type', 'local');
|
$platformInfo['siteType'] = $this->h5pF->getOption('site_type', 'local');
|
||||||
|
$platformInfo['localID'] = hash('crc32', $this->fullPluginPath);
|
||||||
$platformInfo['libraryStats'] = $this->combineArrayValues(array(
|
$platformInfo['libraryStats'] = $this->combineArrayValues(array(
|
||||||
'patch' => $this->getLibrariesInstalled(),
|
'patch' => $this->getLibrariesInstalled(),
|
||||||
'content' => $this->h5pF->getLibraryContentCount(),
|
'content' => $this->h5pF->getLibraryContentCount(),
|
||||||
|
|
Loading…
Reference in New Issue