Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if (substr($_SERVER['REQUEST_URI'], -1) !== "/" ) {
- $this->uri = $_SERVER['REQUEST_URI'] . '/';
- } else {
- $this->uri = $_SERVER['REQUEST_URI'];
- }
- if (strpos($this->uri, "client")) {
- echo '<link href="<?php echo $this->view_dir;?>css/login-style.css" rel="stylesheet" type="text/css" />';
- echo '<link href="<?php echo $this->view_dir;?>css/slick.css" rel="stylesheet" type="text/css" />';
- } else {
- echo '<link href="<?php echo $this->view_dir;?>css/sb-admin.css" rel="stylesheet">';
- echo '<link href="<?php echo $this->view_dir;?>css/styles.css" rel="stylesheet" type="text/css" />';
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement