Skip to content

Commit

Permalink
Fix for autoload
Browse files Browse the repository at this point in the history
  • Loading branch information
jawngee committed Jan 10, 2017
1 parent caf5cc2 commit 0cf4467
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ilab-publish-tool.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@
Author URI: http://interfacelab.com
*/


require_once('vendor/autoload.php');

define('ILAB_PUBLISH_TOOLS_DIR',dirname(__FILE__));
define('ILAB_PUBLISH_VIEW_DIR',ILAB_PUBLISH_TOOLS_DIR.'/views');

if (file_exists(ILAB_PUBLISH_TOOLS_DIR.'/vendor/autoload.php')) {
require_once('vendor/autoload.php');
}

require_once('helpers/ilab-publish-view.php');
require_once('classes/ilab-publish-tool-plugin.php');

Expand Down

0 comments on commit 0cf4467

Please sign in to comment.