mirror of
https://gh.wpcy.net/https://github.com/weDevsOfficial/Laravel-FreeScout-Stripe-Module.git
synced 2026-07-15 05:48:57 +08:00
23 lines
636 B
PHP
23 lines
636 B
PHP
<?php
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Register Namespaces And Routes
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| When a module starting, this file will executed automatically. This helps
|
|
| to register some namespaces like translator or view. Also this file
|
|
| will load the routes file for each module. You may also modify
|
|
| this file as you want.
|
|
|
|
|
*/
|
|
|
|
if (!defined('STRIPE_MODULE_DIR')) {
|
|
define('STRIPE_MODULE_DIR', __DIR__);
|
|
}
|
|
|
|
require_once('vendor/autoload.php');
|
|
|
|
if (!app()->routesAreCached()) {
|
|
require __DIR__ . '/Http/routes.php';
|
|
}
|