Files
web-site/Settings/Projects.php
T
2026-07-01 16:44:17 +03:00

61 lines
1.8 KiB
PHP

<?php return
[
/*
|--------------------------------------------------------------------------
| Directory
|--------------------------------------------------------------------------
|
| Contains settings related to the Projects/ directory.
|
| default: The default boot directory. If the same name directory as the
| host name exists, the default boot directory is that directory.
|
| others : It is specified which domain will run which project directory.
| The project directory can be given a alias.
|
| Example: ['admin' => 'Backend', 'cast.site.com' => 'Cast']
|
*/
'directory' =>
[
'default' => ZN\Base::project('Frontend'),
'others' =>
[
'panel.pisilinux.og' => 'Panel',
'members' => 'Members',
'blog.pisilinux.og' => 'Blog',
'forum.pisilinux.og' => 'Forum',
'wiki.pisilinux.og' => 'Wiki',
'download.pisilinux.og' => 'Download',
'bugs.pisilinux.og' => 'Bugs',
]
],
/*
|--------------------------------------------------------------------------
| Containers
|--------------------------------------------------------------------------
|
| Projects contain settings on each other's scope.
| That is, it is possible to use common files for the projects mentioned.
| Every directory except Controller and View directories can be used as a
| common directory.
|
| Example: child => parent
*/
'containers' =>
[
'Backend' => 'Frontend',
'Panel' => 'Frontend',
'Members' => 'Frontend',
'Blog' => 'Frontend',
'Forum' => 'Frontend',
'Wiki' => 'Frontend',
'Download' => 'Frontend',
'Bugs' => 'Frontend',
//'Forum1' => 'Forum1',
]
];