4 Star 3 Fork 5

Gitee 极速下载 / Mautic

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/mautic/mautic
克隆/下载
index.php 711 Bytes
一键复制 编辑 原始数据 按行查看 历史
<?php
define('MAUTIC_ROOT_DIR', __DIR__);
define('ELFINDER_IMG_PARENT_URL', 'media/bundles/fmelfinder');
// Fix for hosts that do not have date.timezone set, it will be reset based on users settings
date_default_timezone_set('UTC');
require 'app/config/bootstrap.php';
use Mautic\CoreBundle\ErrorHandler\ErrorHandler;
use Mautic\Middleware\MiddlewareBuilder;
use Symfony\Component\HttpFoundation\Request;
ErrorHandler::register($_SERVER['APP_ENV']);
$kernel = (new MiddlewareBuilder(new AppKernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG'])))->resolve();
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);
PHP
1
https://gitee.com/mirrors/Mautic.git
git@gitee.com:mirrors/Mautic.git
mirrors
Mautic
Mautic
5.x

搜索帮助

53164aa7 5694891 3bd8fe86 5694891