Created
April 4, 2019 10:06
-
-
Save CarlasHub/1ccedf62b56eb21ba97f085449a2b6cc to your computer and use it in GitHub Desktop.
php url() function
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
<?php | |
function url($path = '/') { | |
$siteUrl = 'http://localhost/glass-services-html/'; // Site URL goes here | |
echo $siteUrl . $path; | |
} | |
?> | |
<link rel="stylesheet" href="<?php url(); ?>assets/build/css/style.min.css"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment