Skip to content
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.

Commit

Permalink
Merge pull request #457 from MrSwed/evo-develop
Browse files Browse the repository at this point in the history
Create cache folder before creating .htaccess in it
  • Loading branch information
Dmi3yy committed Jan 9, 2016
2 parents 23d0cc1 + 7fadc10 commit d730f9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions assets/snippets/phpthumb/snippet.phpthumb.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
//Author: Bumkaka

$cacheFolder=isset($cacheFolder) ? $cacheFolder : "assets/cache/images";
if(!is_dir(MODX_BASE_PATH.$cacheFolder)) mkdir(MODX_BASE_PATH.$cacheFolder);
$tmpFolder = 'assets/cache/tmp';
if (!empty($input)) $input = rawurldecode($input);

Expand Down

0 comments on commit d730f9d

Please sign in to comment.