PHP Classes
elePHPant
Icontem

File: example/app/admin/index.php

Recommend this page to a friend!
  Classes of Rafael Rodriguez  >  Div PHP Ways  >  example/app/admin/index.php  >  Download  
File: example/app/admin/index.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Div PHP Ways
Route HTTP requests to registered handlers
Author: By
Last change: improve example && bugfixes && better control
Date: 7 months ago
Size: 321 bytes
 

Contents

Class file image Download
<?php

/* Div PHP Control example */

#id = admin-home
#listen = admin
#listen = admin/...

divWays::register('admin/control/Dashboard.php');
divWays::register('admin/control/Session.php');

divWays::listen('admin/login', 'session@Login');
divWays::listen('admin/logout', 'session@Logout');

$data = divWays::bootstrap();