Unverified Commit c3c94238 authored by Marco's avatar Marco Committed by GitHub

Prevent redefine constant BASE_PATH

Add defined for not redefine constant BASE_PATH
parent ed503468
......@@ -10,7 +10,7 @@
namespace Longman\TelegramBot;
define('BASE_PATH', __DIR__);
defined('BASE_PATH') or define('BASE_PATH', __DIR__);
define('BASE_COMMANDS_PATH', BASE_PATH . '/Commands');
use Exception;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment