From 3fcbeca6c781338f6ae4c8b185f6ca94fa3ee573 Mon Sep 17 00:00:00 2001 From: padams Date: Sat, 9 Jul 2022 22:41:58 +0000 Subject: [PATCH] adding check for autoloader before including it. #702 --- owa_env.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/owa_env.php b/owa_env.php index 81aee109..d1296c29 100644 --- a/owa_env.php +++ b/owa_env.php @@ -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' ); +} ?>