aboutsummaryrefslogtreecommitdiff
path: root/inc/title.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/title.inc.php')
-rw-r--r--inc/title.inc.php22
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>