Skip to content
This repository has been archived by the owner on Jun 30, 2019. It is now read-only.

Commit

Permalink
Composer compatibility update
Browse files Browse the repository at this point in the history
  • Loading branch information
lionel-m committed Jun 17, 2015
1 parent 2077e32 commit 09085fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
},
"require":{
"php":">=5.3",
"contao/core": ">=3.2,<3.5",
"contao-community-alliance/composer-installer": "*"
"contao/core": ">=3.2,<4.0-dev",
"contao-community-alliance/composer-plugin": "~2.0"
},
"replace": {
"contao-legacy/galerie": "self.version"
},
},
"extra": {
"contao": {
"sources": {
Expand Down
2 changes: 1 addition & 1 deletion system/modules/galerie/classes/Galleria.php
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ public function getOptions($galerie, $template, $cteOrModuleID)

// Path of the JavaScript file for the function loadTheme() included in the template
$theme = $this->getGalleriaTheme($galerie);

if (file_exists(TL_ROOT . '/' . $theme[0] . '/galleria' . '.' . $theme[1] . '.min.js')) {
$pathJS = $theme[0] . '/galleria' . '.' . $theme[1] . '.min.js';
} else {
Expand Down

0 comments on commit 09085fa

Please sign in to comment.