Skip to content

Commit

Permalink
adding check for autoloader before including it. Open-Web-Analytics#702
Browse files Browse the repository at this point in the history
  • Loading branch information
padams committed Jul 9, 2022
1 parent e6204a0 commit 3fcbeca
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion owa_env.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
define('OWA_VERSION', 'master');
define('OWA_VENDOR_DIR', OWA_DIR.'vendor/');

require_once ( OWA_VENDOR_DIR . 'autoload.php' );
if ( file_exists( OWA_VENDOR_DIR . 'autoload.php' ) ) {

require_once ( OWA_VENDOR_DIR . 'autoload.php' );
}

?>

0 comments on commit 3fcbeca

Please sign in to comment.