Skip to content

Commit

Permalink
Fix check for composer files
Browse files Browse the repository at this point in the history
  • Loading branch information
bryceadams committed Sep 23, 2016
1 parent 870d8e5 commit d8e2099
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wc-cyclone.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

add_action( 'plugins_loaded', function() {
// Check `composer install` has been ran
if ( file_exists( 'vendor' ) ) {
if ( file_exists( dirname( __FILE__ ) . '/vendor' ) ) {
// Composer dependencies
require_once( 'vendor/autoload.php' );

Expand Down

0 comments on commit d8e2099

Please sign in to comment.