-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.php
73 lines (67 loc) · 2.83 KB
/
init.php
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?php
/**
*
*/
include __DIR__ . '/vendor/psr/container/src/ContainerInterface.php';
include __DIR__ . '/vendor/psr/http-message/src/MessageInterface.php';
include __DIR__ . '/vendor/psr/http-message/src/RequestInterface.php';
include __DIR__ . '/vendor/psr/http-message/src/ResponseInterface.php';
include __DIR__ . '/vendor/psr/http-message/src/ServerRequestInterface.php';
include __DIR__ . '/vendor/psr/http-message/src/StreamInterface.php';
include __DIR__ . '/vendor/psr/http-message/src/UploadedFileInterface.php';
include __DIR__ . '/vendor/psr/http-message/src/UriInterface.php';
/**
*
*/
//include __DIR__ . '/vendor/laminas/laminas-diactoros/src/functions/create_uploaded_file.php';
//include __DIR__ . '/vendor/laminas/laminas-diactoros/src/functions/marshal_headers_from_sapi.php';
//include __DIR__ . '/vendor/laminas/laminas-diactoros/src/functions/marshal_uri_from_sapi.php';
//include __DIR__ . '/vendor/laminas/laminas-diactoros/src/functions/normalize_server.php';
//include __DIR__ . '/vendor/laminas/laminas-diactoros/src/functions/normalize_uploaded_files.php';
//include __DIR__ . '/vendor/laminas/laminas-diactoros/src/functions/parse_cookie_header.php';
include __DIR__ . '/vendor/laminas/laminas-diactoros/src/Uri.php';
include __DIR__ . '/vendor/laminas/laminas-diactoros/src/Stream.php';
include __DIR__ . '/vendor/laminas/laminas-diactoros/src/PhpInputStream.php';
include __DIR__ . '/vendor/laminas/laminas-diactoros/src/UploadedFile.php';
/**
*
*/
//include __DIR__ . '/vendor/mvc5/mvc5/namespace.php';
include __DIR__ . '/vendor/mvc5/mvc5/init.php';
include __DIR__ . '/vendor/mvc5/view/init.php';
include __DIR__ . '/vendor/mvc5/facade/init.php';
include __DIR__ . '/vendor/mvc5/http-message/init.php';
/**
*
*/
/*include __DIR__ . '/src/About/More/Messages/ViewModel.php';
include __DIR__ . '/src/Dashboard/ViewModel.php';
include __DIR__ . '/src/Dashboard/Controller.php';
include __DIR__ . '/src/Dashboard/Add/Validate.php';
include __DIR__ . '/src/Dashboard/Add/Save.php';
include __DIR__ . '/src/Dashboard/Add/Respond.php';
include __DIR__ . '/src/Home/Factory.php';
include __DIR__ . '/src/Home/Controller.php';
include __DIR__ . '/src/Home/Route.php';
include __DIR__ . '/src/Home/ViewModel.php';
include __DIR__ . '/src/Console/Example.php';
include __DIR__ . '/src/Plugin/Gem/Controller.php';
include __DIR__ . '/src/Plugin/Controller.php';
include __DIR__ . '/src/Plugin/Page.php';
include __DIR__ . '/src/Plugin/Redirect.php';
include __DIR__ . '/src/Service/Provider.php';
include __DIR__ . '/src/User/Config/User.php';
include __DIR__ . '/src/User/User.php';
include __DIR__ . '/src/User/Config.php';*/
/**
*
*/
include __DIR__ . '/vendor/autoload.php';
/**
*
*/
set_error_handler([Mvc5\Exception\ErrorException::class, 'handler']);
/**
*
*/
spl_autoload_register(new Mvc5\Service\Alias(include __DIR__ . '/config/alias.php'));