diff options
author | Frankie B <git@diskfloppy.me> | 2023-06-13 21:59:16 +0100 |
---|---|---|
committer | Frankie B <frankieraybrown@gmail.com> | 2023-06-14 22:15:44 +0100 |
commit | a464ef4c0e3ce235fb1da70dfb282449beeeac80 (patch) | |
tree | 4708f5c996376dd94f2cc49f7d16dc80eef1a4df /inc/title.inc.php | |
parent | 44db6ce1d9cfdca7e175cb74ee7d818b94571bc4 (diff) |
Initialize laravel app
Diffstat (limited to 'inc/title.inc.php')
-rw-r--r-- | inc/title.inc.php | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/inc/title.inc.php b/inc/title.inc.php deleted file mode 100644 index 149f0c8..0000000 --- a/inc/title.inc.php +++ /dev/null @@ -1,22 +0,0 @@ -<title><?php -$uri = $_SERVER['REQUEST_URI']; -if ($uri === '/') { echo '~floppydisk'; } -else { - $uri = substr(substr($uri, 1), 0, -1); - if (!strpos($uri, '/')) { - $uriArr = explode('/', $uri); - $link = "/"; - $links = '~floppydisk / '; - $currentDir = basename(getcwd()); - foreach($uriArr as $page) { - if ($page !== $currentDir) { - if ($link !== '/') $link = $link . '/' . $page; - else $link = $link . $page; - $links = $links . $link . $page . ' / '; - } - } - $links = substr($links, 0, -3) . ' / ' . $currentDir; - echo $links; - } -} -?></title> |