Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
amir2b authored Feb 24, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 18e5675 commit d21268d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/helpers.php
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@
*/
function image_url($file, $width = 0, $height = 0, $is_crop = false)
{
$root_path = config(config('image-fit.root_path'), 'files');
$root_path = config('image-fit.root_path', 'files');

$file = trim($file, '/');
if (empty($file)) {

0 comments on commit d21268d

Please sign in to comment.