vite config : ignore /local and /public/** to improve perf
This commit is contained in:
parent
3c9eed7804
commit
c11a85e7f8
32 changed files with 1235 additions and 858 deletions
25
public/site/plugins/kql/tests/bootstrap.php
Normal file
25
public/site/plugins/kql/tests/bootstrap.php
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<?php
|
||||
|
||||
error_reporting(E_ALL);
|
||||
|
||||
ini_set('memory_limit', '512M');
|
||||
ini_set('display_errors', 'on');
|
||||
ini_set('display_startup_errors', 'on');
|
||||
|
||||
require_once dirname(__DIR__, 1) . '/vendor/autoload.php';
|
||||
|
||||
// regular setup
|
||||
$bootstrapper = dirname(__DIR__, 4) . '/kirby/bootstrap.php';
|
||||
|
||||
if (is_file($bootstrapper)) {
|
||||
require_once $bootstrapper;
|
||||
}
|
||||
|
||||
// sandbox
|
||||
$bootstrapper = dirname(__DIR__, 5) . '/kirby/bootstrap.php';
|
||||
|
||||
if (is_file($bootstrapper)) {
|
||||
require_once $bootstrapper;
|
||||
}
|
||||
|
||||
kirby();
|
||||
Loading…
Add table
Add a link
Reference in a new issue