Last active
August 29, 2015 14:00
-
-
Save hoorayimhelping/11303866 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| <head> | |
| <?php | |
| $fileName = basename(__FILE__); | |
| switch($fileName){ | |
| case 'content/test.inc.php': | |
| echo '<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.no-icons.min.css">'; | |
| echo '<link rel="stylesheet" href="https://d3egb1p3jkzgcl.cloudfront.net/donde-style-v2.min.css">'; | |
| echo '<link rel="stylesheet" href="http://api.donde.io/css/53299c5e7ec08ebbfe000017">'; | |
| break; | |
| case 'some/other/file/here.php': // if you want to do something if the file is different than test.inc.php, check for it here | |
| // imagine some cool php here, otherwise, just put the closing } after the break; statement above ^ | |
| break; | |
| } | |
| ?> | |
| </head> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment