-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfunctions.php
More file actions
41 lines (37 loc) · 1.23 KB
/
Copy pathfunctions.php
File metadata and controls
41 lines (37 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php
/*
* This file is part of the {APP-NAME}.
*
* (c) {APP-AUTHOR}
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
// Initialization of application
require get_template_directory() . '/bootstrap.php';
new __{APP-CLASS}_Bootstrap(array(
'name' => '{APP-NAME}', // Application name
'slug' => '{APP-SLUG}', // Application slug
'mode' => 'theme', // Application mode
'rpv' => '8.1', // Required PHP version
'rwv' => '6.5', // Required WordPress version
'dev' => (defined('WP_DEBUG') ? WP_DEBUG : false),
'class' => '{APP-CLASS}\Application',
'class-alias' => '{APP-CLASS-ALIAS}',
'file-load-path' => false,
'session' => false,
// Debugger
'debug' => true,
'email' => get_option('admin_email', null),
'log' => false,
'log-severity' => 0,
'log-max-files' => 10,
'strict-mode' => true,
'show-bar' => true,
'max-depth' => 40,
'max-length' => 150,
'editor' => 'vscode://file/%file:%line',
));
/**
* Under this message you can put your functions
*/