Skip to content

Commit

Permalink
Update seeder.php
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronHolbrook authored Nov 22, 2017
1 parent 4c6df9d commit d6b9e83
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions seeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,4 @@

use function A7\autoload;

if ( ! defined( 'ABSPATH' ) ) {
die( 'Cannot access pages directly.' );
}

// If used in multiple places, only load once
if ( function_exists( '\A7\Seeder\do_seeding' ) ) {
return;
}

/**
* Load all the composer packages
*/
require_once __DIR__ . '/vendor/autoload.php';

autoload( __DIR__ . '/src' );
autoload( __DIR__ . '/src' );

0 comments on commit d6b9e83

Please sign in to comment.