Comment out prefixing that isn't working

semantics-font
Svein-Tore Griff With 2015-03-22 13:12:44 +01:00
parent e76fc9eff3
commit 1c4a5e014b
1 changed files with 2 additions and 3 deletions

View File

@ -1785,10 +1785,9 @@ class H5PCore {
if ($type === 'preloadedCss' && (isset($dependency['dropCss']) && $dependency['dropCss'] === '1')) { if ($type === 'preloadedCss' && (isset($dependency['dropCss']) && $dependency['dropCss'] === '1')) {
return; return;
} }
foreach ($dependency[$type] as $file) { foreach ($dependency[$type] as $file) {
$assets[] = (object) array( $assets[] = (object) array(
'path' => $prefix . $dependency['path'] . '/' . trim(is_array($file) ? $file['path'] : $file), 'path' => /*$prefix . */$dependency['path'] . '/' . trim(is_array($file) ? $file['path'] : $file),
'version' => $dependency['version'] 'version' => $dependency['version']
); );
} }
@ -1808,7 +1807,7 @@ class H5PCore {
// Add URL prefix if not external // Add URL prefix if not external
if (strpos($asset->path, '://') === FALSE) { if (strpos($asset->path, '://') === FALSE) {
$url = $this->url . $url; $url = /*$this->url .*/ $url;
} }
// Add version/cache buster if set // Add version/cache buster if set