This project does not seem to handle request data directly as such no vulnerable execution paths were found.
include
, or for example
via PHP's auto-loading mechanism.
1 | <?php |
||
0 ignored issues
–
show
Coding Style
introduced
by
![]() |
|||
2 | /** |
||
3 | * CakePHP(tm) : Rapid Development Framework (https://cakephp.org) |
||
0 ignored issues
–
show
|
|||
4 | * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) |
||
0 ignored issues
–
show
|
|||
5 | * |
||
6 | * Licensed under The MIT License |
||
7 | * Redistributions of files must retain the above copyright notice. |
||
8 | * |
||
9 | * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) |
||
0 ignored issues
–
show
|
|||
10 | * @link https://cakephp.org CakePHP(tm) Project |
||
0 ignored issues
–
show
|
|||
11 | * @since 3.0.0 |
||
0 ignored issues
–
show
|
|||
12 | * @license MIT License (https://opensource.org/licenses/mit-license.php) |
||
0 ignored issues
–
show
|
|||
13 | */ |
||
0 ignored issues
–
show
|
|||
14 | |||
15 | /* |
||
16 | * Use the DS to separate the directories in other defines |
||
17 | */ |
||
0 ignored issues
–
show
|
|||
18 | if (!defined('DS')) { |
||
0 ignored issues
–
show
|
|||
19 | define('DS', DIRECTORY_SEPARATOR); |
||
20 | } |
||
21 | |||
22 | /* |
||
23 | * These defines should only be edited if you have cake installed in |
||
24 | * a directory layout other than the way it is distributed. |
||
25 | * When using custom settings be sure to use the DS and do not add a trailing DS. |
||
0 ignored issues
–
show
|
|||
26 | */ |
||
27 | |||
28 | /* |
||
29 | * The full path to the directory which holds "src", WITHOUT a trailing DS. |
||
30 | */ |
||
0 ignored issues
–
show
|
|||
31 | define('ROOT', dirname(__DIR__)); |
||
32 | |||
33 | /* |
||
34 | * The actual directory name for the application directory. Normally |
||
35 | * named 'src'. |
||
36 | */ |
||
0 ignored issues
–
show
|
|||
37 | define('APP_DIR', 'src'); |
||
38 | |||
39 | /* |
||
40 | * Path to the application's directory. |
||
41 | */ |
||
0 ignored issues
–
show
|
|||
42 | define('APP', ROOT . DS . APP_DIR . DS); |
||
43 | |||
44 | /* |
||
45 | * Path to the config directory. |
||
46 | */ |
||
0 ignored issues
–
show
|
|||
47 | define('CONFIG', ROOT . DS . 'config' . DS); |
||
48 | |||
49 | /* |
||
50 | * File path to the webroot directory. |
||
51 | * |
||
52 | * To derive your webroot from your webserver change this to: |
||
53 | * |
||
54 | * `define('WWW_ROOT', rtrim($_SERVER['DOCUMENT_ROOT'], DS) . DS);` |
||
55 | */ |
||
0 ignored issues
–
show
|
|||
56 | define('WWW_ROOT', ROOT . DS . 'webroot' . DS); |
||
57 | |||
58 | /* |
||
59 | * Path to the tests directory. |
||
60 | */ |
||
0 ignored issues
–
show
|
|||
61 | define('TESTS', ROOT . DS . 'tests' . DS); |
||
62 | |||
63 | /* |
||
64 | * Path to the temporary files directory. |
||
65 | */ |
||
0 ignored issues
–
show
|
|||
66 | define('TMP', ROOT . DS . 'tmp' . DS); |
||
67 | |||
68 | /* |
||
69 | * Path to the logs directory. |
||
70 | */ |
||
0 ignored issues
–
show
|
|||
71 | define('LOGS', ROOT . DS . 'logs' . DS); |
||
72 | |||
73 | /* |
||
74 | * Path to the cache files directory. It can be shared between hosts in a multi-server setup. |
||
0 ignored issues
–
show
|
|||
75 | */ |
||
0 ignored issues
–
show
|
|||
76 | define('CACHE', TMP . 'cache' . DS); |
||
77 | |||
78 | /** |
||
0 ignored issues
–
show
|
|||
79 | * Path to the resources directory. |
||
80 | */ |
||
81 | define('RESOURCES', ROOT . DS . 'resources' . DS); |
||
82 | |||
83 | /** |
||
0 ignored issues
–
show
|
|||
84 | * The absolute path to the "cake" directory, WITHOUT a trailing DS. |
||
85 | * |
||
86 | * CakePHP should always be installed with composer, so look there. |
||
87 | */ |
||
88 | define('CAKE_CORE_INCLUDE_PATH', ROOT . DS . 'vendor' . DS . 'cakephp' . DS . 'cakephp'); |
||
89 | |||
90 | /* |
||
91 | * Path to the cake directory. |
||
92 | */ |
||
0 ignored issues
–
show
|
|||
93 | define('CORE_PATH', CAKE_CORE_INCLUDE_PATH . DS); |
||
94 | define('CAKE', CORE_PATH . 'src' . DS); |
||
95 |