diff --git a/index.php b/index.php index ebb0c762809f9d12e3750894e989761889f4679c..20527256af92125ccf9dd3f4bdeb7f285824f23e 100644 --- a/index.php +++ b/index.php @@ -1,4 +1,8 @@ <?php + function __autoload($class_name) { + include strtolower($class_name) . '.php'; + } + // This file is the main controller include 'template/header.php'; diff --git a/view/index.php b/view/index.php index 4c6222c2df9822aef197a943d7bf38185d6373e0..c605bbb081f9adcd72e02b6cf4385a8910f54e4c 100644 --- a/view/index.php +++ b/view/index.php @@ -1,13 +1,7 @@ <!-- Begin page content --> <div class="container"> <div class="page-header"> - <h1>Sticky footer with fixed navbar</h1> + <h1>Clinique Vétérinaire</h1> </div> - <pre> - <?php print_r($url); ?> - <pre> - <?php print_r($_SERVER); ?> - </pre> - <p class="lead">Pin a fixed-height footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS. A fixed navbar has been added with <code>padding-top: 60px;</code> on the <code>body > .container</code>.</p> - <p>Back to <a href="../sticky-footer">the default sticky footer</a> minus the navbar.</p> + <p class="lead">Bienvenue sur l'outil de gestion de la clinique.</p> </div> \ No newline at end of file