Skip to content

Commit

Permalink
Merge pull request #5 from cfaria/patch-1
Browse files Browse the repository at this point in the history
Check correct assets folder existence
  • Loading branch information
MWDelaney authored Mar 25, 2020
2 parents bdcf717 + ff74fe5 commit ea7e0a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion advanced-custom-fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

// Set Sage9 friendly path at /theme-directory/resources/assets/acf-json

if (is_dir(get_stylesheet_directory() . '/assets/acf-json')) {
if (is_dir(get_stylesheet_directory() . '/assets')) {
// This is Sage 9
$path = get_stylesheet_directory() . '/assets/acf-json';
} else {
Expand Down

0 comments on commit ea7e0a0

Please sign in to comment.