Commit c2206b3a authored by Ad Schellevis's avatar Ad Schellevis

move src/opnsense/mvc/public to src/opnsense/www (mvc framework)

parent 61f44db0
...@@ -1034,8 +1034,8 @@ server.max-keep-alive-idle = 30 ...@@ -1034,8 +1034,8 @@ server.max-keep-alive-idle = 30
server.document-root = "{$document_root}" server.document-root = "{$document_root}"
### todo implement phalcon ui and api routing ### todo implement phalcon ui and api routing
#alias.url += ( "/ui/" => "/usr/local/opnsense/mvc/public/" ) #alias.url += ( "/ui/" => "/usr/local/opnsense/www/" )
#alias.url += ( "/api/" => "/usr/local/opnsense/mvc/public/" ) #alias.url += ( "/api/" => "/usr/local/opnsense/www/" )
#url.rewrite-if-not-file = ( "^/ui/(.*)$" => "/ui/index.php?_url=/$1" , #url.rewrite-if-not-file = ( "^/ui/(.*)$" => "/ui/index.php?_url=/$1" ,
# "^/api/(.*)$" => "/api/api.php?_url=/$1" # "^/api/(.*)$" => "/api/api.php?_url=/$1"
#) #)
......
...@@ -6,17 +6,17 @@ try { ...@@ -6,17 +6,17 @@ try {
/** /**
* Read the configuration * Read the configuration
*/ */
$config = include __DIR__ . "/../app/config/config.php"; $config = include __DIR__ . "/../mvc/app/config/config.php";
/** /**
* Read auto-loader * Read auto-loader
*/ */
include __DIR__ . "/../app/config/loader.php"; include __DIR__ . "/../mvc/app/config/loader.php";
/** /**
* Read services * Read services
*/ */
include __DIR__ . "/../app/config/services_api.php"; include __DIR__ . "/../mvc/app/config/services_api.php";
/** /**
* Handle the request * Handle the request
......
...@@ -6,17 +6,17 @@ try { ...@@ -6,17 +6,17 @@ try {
/** /**
* Read the configuration * Read the configuration
*/ */
$config = include __DIR__ . "/../app/config/config.php"; $config = include __DIR__ . "/../mvc/app/config/config.php";
/** /**
* Read auto-loader * Read auto-loader
*/ */
include __DIR__ . "/../app/config/loader.php"; include __DIR__ . "/../mvc/app/config/loader.php";
/** /**
* Read services * Read services
*/ */
include __DIR__ . "/../app/config/services.php"; include __DIR__ . "/../mvc/app/config/services.php";
/** /**
* Handle the request * Handle the request
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment