Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
php-website/www/config.php
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
53 lines (45 sloc)
1.19 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This file contains the variables and settings for this website. | |
* =============================================================== | |
* | |
* Also, if you want to write cool comment blocks like this one, | |
* search your editors plugins for docblockr. | |
* | |
*/ | |
/** | |
* Site Navigation | |
*/ | |
$navigation = array( | |
'Home' => 'index.php', | |
'About' => 'about.php', | |
'Contact' => 'contact.php' | |
); | |
/** | |
* Store the URI for the current page (as requested by the user) | |
* | |
* This should set $current to one of the following | |
* - index.php' | |
* - about.php' | |
* - contact.php | |
*/ | |
$current = basename($_SERVER['REQUEST_URI']); | |
/** | |
* Scripts | |
*/ | |
$scripts = array( | |
'assets/js/jquery.min.js', | |
'assets/js/jquery.dropotron.min.js', | |
'assets/js/skel.min.js', | |
'assets/js/util.js', | |
'assets/js/main.js' | |
); | |
/** | |
* Hey, there. Notice how I didn't close the PHP tag down here? | |
* There's a good reason. When your file is ONLY PHP (no HTML) | |
* it's a good idea to leave the PHP tag open. Otherwise, you | |
* run the risk of outputting extra lines or other non-printing | |
* characters. You can read more about that here: | |
* | |
* https://developer.sugarcrm.com/2011/05/06/why-we-dont-using-closing-php-tags/ | |
*/ |