29 lines
654 B
PHP
29 lines
654 B
PHP
|
<?php
|
||
|
function myDefine($name, $value) {
|
||
|
if (!defined($name)) define($name, $value);
|
||
|
}
|
||
|
|
||
|
# Flag de config
|
||
|
myDefine("FNAV_CONFIG", true);
|
||
|
|
||
|
# chemin absolu de la Framanav
|
||
|
myDefine("FNAV_PATH", realpath($_SERVER["DOCUMENT_ROOT"])."/nav2");
|
||
|
|
||
|
# chemin relatif de la framanav
|
||
|
myDefine("FNAV_RPATH", "/nav2");
|
||
|
|
||
|
# La barre doit-elle rester statique en haut de page (true/false) ?
|
||
|
myDefine("FNAV_STATIC", false);
|
||
|
|
||
|
# Doit on charger le jquery local ?
|
||
|
myDefine("FNAV_LOCAL_JQUERY", true);
|
||
|
|
||
|
# Doit-on charger le JS de Bootstrap ?
|
||
|
myDefine("FNAV_LOCAL_BOOTSTRAP_JS", true);
|
||
|
|
||
|
# Doit-on charger le CSS de Bootstrap ?
|
||
|
myDefine("FNAV_LOCAL_BOOTSTRAP_CSS", true);
|
||
|
|
||
|
|
||
|
?>
|