13 require
__DIR__ .
'/../app/bootstrap.php';
14 }
catch (\Exception $e) {
16 <div style=
"font:12px/1.35em arial, helvetica, sans-serif;">
17 <div style=
"margin:0 0 25px 0; border-bottom:1px solid #ccc;">
18 <h3 style=
"margin:0;font-size:1.7em;font-weight:normal;text-transform:none;text-align:left;color:#2f2f2f;">
21 <p>{$e->getMessage()}</p>
28 $params[Bootstrap::INIT_PARAM_FILESYSTEM_DIR_PATHS] = [
29 DirectoryList::PUB => [DirectoryList::URL_PATH =>
''],
30 DirectoryList::MEDIA => [DirectoryList::URL_PATH =>
'media'],
31 DirectoryList::STATIC_VIEW => [DirectoryList::URL_PATH =>
'static'],
32 DirectoryList::UPLOAD => [DirectoryList::URL_PATH =>
'media/upload'],
static create($rootDir, array $initParams, ObjectManagerFactory $factory=null)
defined('TESTS_BP')||define('TESTS_BP' __DIR__
catch(\Exception $e) $params
catch(\Exception $e) $bootstrap