aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2019-04-04 02:52:39 -0400
committerThedro Neely <thedroneely@gmail.com>2019-04-04 02:52:39 -0400
commit0c76dec418ccbd4a08a2b4ed53c16d4357b8a81d (patch)
tree59c8c41aaa1dfd9abe1466ed02894cbcd027e726
parent60e932fce10bbdccc4ffa0012949353680b9efa7 (diff)
downloadthedroneely.com-0c76dec418ccbd4a08a2b4ed53c16d4357b8a81d.tar.gz
thedroneely.com-0c76dec418ccbd4a08a2b4ed53c16d4357b8a81d.tar.bz2
thedroneely.com-0c76dec418ccbd4a08a2b4ed53c16d4357b8a81d.zip
app/views/admin: Remove admin route
-rw-r--r--app/Routes.php2
-rw-r--r--app/controllers/admin.controller.php3
-rw-r--r--app/views/admin.view.php22
3 files changed, 0 insertions, 27 deletions
diff --git a/app/Routes.php b/app/Routes.php
index 1784dc6..942f8d3 100644
--- a/app/Routes.php
+++ b/app/Routes.php
@@ -8,8 +8,6 @@ $router->get('contact', '../app/controllers/contact.controller.php');
$router->get('resume', '../app/controllers/resume.controller.php');
-$router->get('admin', '../app/controllers/admin.controller.php');
-
$router->head('', '../app/controllers/index.controller.php');
diff --git a/app/controllers/admin.controller.php b/app/controllers/admin.controller.php
deleted file mode 100644
index dc041f0..0000000
--- a/app/controllers/admin.controller.php
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-
-require '../app/views/admin.view.php';
diff --git a/app/views/admin.view.php b/app/views/admin.view.php
deleted file mode 100644
index 9b1d8ff..0000000
--- a/app/views/admin.view.php
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php require __DIR__ . '/partials/header.php'; ?>
-
- <body>
-
-<?php require __DIR__ . '/partials/navigator.php'; ?>
-
-
-<div class="hero-body">
- <div class="container">
- <div class="columns is-centered">
- <div class="column is-7">
-
- <?php $hugo = shell_exec('cd ../generators/hugo; hugo; echo $?'); ?>
- <pre><?php echo $hugo; ?></pre>
-
- </div>
- </div>
- </div>
-</div>
-
-
-<?php require __DIR__ . '/partials/footer.php'; ?>