Skip to content

Instantly share code, notes, and snippets.

@hoorayimhelping
Last active August 29, 2015 14:00
Show Gist options
  • Save hoorayimhelping/11303866 to your computer and use it in GitHub Desktop.
Save hoorayimhelping/11303866 to your computer and use it in GitHub Desktop.
<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