44 lines
1.1 KiB
PHP
44 lines
1.1 KiB
PHP
<?php
|
|
$framework_routes = [
|
|
'/novaconium' => [
|
|
'get' => 'NOVACONIUM/init'
|
|
],
|
|
'/novaconium/create_admin' => [
|
|
'post' => 'NOVACONIUM/create_admin'
|
|
],
|
|
'/novaconium/login' => [
|
|
'post' => 'NOVACONIUM/authenticate',
|
|
'get' => 'NOVACONIUM/login'
|
|
],
|
|
'/novaconium/dashboard' => [
|
|
'get' => 'NOVACONIUM/dashboard'
|
|
],
|
|
'/novaconium/pages' => [
|
|
'get' => 'NOVACONIUM/pages'
|
|
],
|
|
'/novaconium/page/edit/{id}' => [
|
|
'get' => 'NOVACONIUM/editpage'
|
|
],
|
|
'/novaconium/page/create' => [
|
|
'get' => 'NOVACONIUM/editpage'
|
|
],
|
|
'/novaconium/savePage' => [
|
|
'post' => 'NOVACONIUM/savepage'
|
|
],
|
|
'/novaconium/messages' => [
|
|
'get' => 'NOVACONIUM/messages'
|
|
],
|
|
'/novaconium/messages/delete/{id}' => [
|
|
'get' => 'NOVACONIUM/message_delete'
|
|
],
|
|
'/novaconium/messages/edit/{id}' => [
|
|
'get' => 'NOVACONIUM/message_edit'
|
|
],
|
|
'/novaconium/message_save' => [
|
|
'post' => 'NOVACONIUM/message_save'
|
|
],
|
|
'/novaconium/logout' => [
|
|
'post' => 'NOVACONIUM/logout',
|
|
'get' => 'NOVACONIUM/logout'
|
|
]
|
|
]; |