Skip to content

Commit

Permalink
Merge branch 'release/1.0.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Dec 12, 2015
2 parents fcdd0bc + 96d7c47 commit 4a5a400
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 36 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# v1.0.3
## 12/11/2015

1. [](#bugfix)
* Fixed issue when saving config causing incorrect image cache folder perms

# v1.0.2
## 12/11/2015

Expand Down
4 changes: 2 additions & 2 deletions system/blueprints/config/system.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -706,8 +706,8 @@ form:
help: PLUGIN_ADMIN.CACHE_PERMS_HELP
highlight: '0755'
options:
1: '0755'
0: '0775'
'0755': '0755'
'0775': '0775'


images.debug:
Expand Down
2 changes: 1 addition & 1 deletion system/defines.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// Some standard defines
define('GRAV', true);
define('GRAV_VERSION', '1.0.2');
define('GRAV_VERSION', '1.0.3');
define('DS', '/');

// Directories and Paths
Expand Down
3 changes: 2 additions & 1 deletion system/src/Grav/Common/Page/Medium/ImageFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ public function cacheFile($type = 'jpg', $quality = 80, $actual = false)

// Asking the cache for the cacheFile
try {
$perms = octdec(self::getGrav()['config']->get('system.images.cache_perms', '0755'));
$perms = self::getGrav()['config']->get('system.images.cache_perms', '0755');
$perms = octdec($perms);
$file = $this->cache->setDirectoryMode($perms)->getOrCreateFile($cacheFile, $conditions, $generate, $actual);
} catch (GenerationError $e) {
$file = $e->getNewFile();
Expand Down
Empty file removed system/tests/Grav/Test/.gitkeep
Empty file.
8 changes: 0 additions & 8 deletions system/tests/Grav/TestCase.php

This file was deleted.

6 changes: 0 additions & 6 deletions system/tests/bootstrap.php

This file was deleted.

18 changes: 0 additions & 18 deletions system/tests/phpunit.xml

This file was deleted.

0 comments on commit 4a5a400

Please sign in to comment.