31 lines
755 B
PHP
31 lines
755 B
PHP
<?php
|
|
|
|
use Ulmus\ConnectionAdapter;
|
|
|
|
putenv('LEAN_API_PROJECT_PATH=' . $path = dirname(__DIR__, 2));
|
|
|
|
return [
|
|
'lean.live' => [
|
|
'picea' => [
|
|
'context' => Lean\Live\View::class,
|
|
|
|
'view' => [
|
|
[
|
|
'path' => implode(DIRECTORY_SEPARATOR, [ $path , "view", '' ]),
|
|
'order' => 99,
|
|
],
|
|
],
|
|
|
|
'asset' => [
|
|
[
|
|
'path' => implode(DIRECTORY_SEPARATOR, [ $path, "asset", '' ]),
|
|
'order' => 10
|
|
],
|
|
],
|
|
],
|
|
|
|
'routes' => [
|
|
#'Lean\\Live\\Controller' => implode(DIRECTORY_SEPARATOR, [ $path, "src", "Controller", "" ]),
|
|
],
|
|
],
|
|
]; |