default
[
class tree: default
] [
index: default
] [
all elements
]
default
Packages:
default
PegasusPHP
Wodafok
Wodafok-Auth
Wodafok-Factories
Source for file index.php
Documentation is available at
index.php
<?php
/**
* Add Wodafok Source to the include path.
* It's your responsability
*/
$dir
= \
dirname
(
__FILE__
)
;
$path
=
$dir
;
\
set_include_path
(
\
get_include_path
(
)
. \
PATH_SEPARATOR
.
$path
)
;
require_once
'Classes'
. \
DIRECTORY_SEPARATOR
.
'Autoloader.php'
;
require_once
'Config'
. \
DIRECTORY_SEPARATOR
.
'WoDaFoK.php'
;
/**
*
*
*
@author
Jouanno Jonathan
*/
if
(
file_exists
(
'maintenance.html'
))
{
include
'maintenance.html'
;
exit
(
)
;
}
$cfg
=
new
\
WoDaFoK
(
)
;
$Wodafok
=
new
\
Wodafok
\
Wodafok
(
$cfg
)
;
//// Execute la requete
$Wodafok
->
execute
(
$_SERVER
[
'REQUEST_URI'
]
)
;
?>
Documentation generated on Mon, 13 Aug 2012 23:01:09 +0200 by
phpDocumentor 1.4.4