aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-04-11 07:13:13 +0200
committerThomas Lange <code@nerdmind.de>2017-04-11 07:13:13 +0200
commit85e48b669f65933d5376f9214219c7e5eb10a9e7 (patch)
tree5a08463dc9d770d98442e1c9f8d65044cdd9f1ff
parentdd0433cf81fe5329b694a148191f09e427d4a56c (diff)
downloadblog-85e48b669f65933d5376f9214219c7e5eb10a9e7.tar.gz
blog-85e48b669f65933d5376f9214219c7e5eb10a9e7.tar.xz
blog-85e48b669f65933d5376f9214219c7e5eb10a9e7.zip
The system directory has been moved to a non-public directory. After the commit e33c245d910e55b8cab407a03e669470509a705d, it is no longer necessary that the directory is publicly accessible via HTTP because all requests are running through the router.v1.2
-rw-r--r--core/include/feed/main.php (renamed from system/feed/main.php)0
-rw-r--r--core/include/home.php (renamed from system/home.php)0
-rw-r--r--core/include/page/list.php (renamed from system/page/list.php)0
-rw-r--r--core/include/page/main.php (renamed from system/page/main.php)0
-rw-r--r--core/include/post/list.php (renamed from system/post/list.php)0
-rw-r--r--core/include/post/main.php (renamed from system/post/main.php)0
-rw-r--r--core/include/search/main.php (renamed from system/search/main.php)0
-rw-r--r--core/include/user/list.php (renamed from system/user/list.php)0
-rw-r--r--core/include/user/main.php (renamed from system/user/main.php)0
-rw-r--r--index.php20
10 files changed, 10 insertions, 10 deletions
diff --git a/system/feed/main.php b/core/include/feed/main.php
index 671f5c7..671f5c7 100644
--- a/system/feed/main.php
+++ b/core/include/feed/main.php
diff --git a/system/home.php b/core/include/home.php
index ce91558..ce91558 100644
--- a/system/home.php
+++ b/core/include/home.php
diff --git a/system/page/list.php b/core/include/page/list.php
index 25409e5..25409e5 100644
--- a/system/page/list.php
+++ b/core/include/page/list.php
diff --git a/system/page/main.php b/core/include/page/main.php
index 925d5d9..925d5d9 100644
--- a/system/page/main.php
+++ b/core/include/page/main.php
diff --git a/system/post/list.php b/core/include/post/list.php
index f2edd0b..f2edd0b 100644
--- a/system/post/list.php
+++ b/core/include/post/list.php
diff --git a/system/post/main.php b/core/include/post/main.php
index 46937f3..46937f3 100644
--- a/system/post/main.php
+++ b/core/include/post/main.php
diff --git a/system/search/main.php b/core/include/search/main.php
index 8854b79..8854b79 100644
--- a/system/search/main.php
+++ b/core/include/search/main.php
diff --git a/system/user/list.php b/core/include/user/list.php
index 692bba6..692bba6 100644
--- a/system/user/list.php
+++ b/core/include/user/list.php
diff --git a/system/user/main.php b/core/include/user/main.php
index 7944f1f..7944f1f 100644
--- a/system/user/main.php
+++ b/core/include/user/main.php
diff --git a/index.php b/index.php
index 936abe2..37dcce8 100644
--- a/index.php
+++ b/index.php
@@ -14,16 +14,16 @@ $USERPATH = Application::get('USER.DIRECTORY');
#===============================================================================
# ROUTE: Item
#===============================================================================
-Router::add("{$PAGEPATH}/([^/]+)/", function($param) { require 'system/page/main.php'; });
-Router::add("{$POSTPATH}/([^/]+)/", function($param) { require 'system/post/main.php'; });
-Router::add("{$USERPATH}/([^/]+)/", function($param) { require 'system/user/main.php'; });
+Router::add("{$PAGEPATH}/([^/]+)/", function($param) { require 'core/include/page/main.php'; });
+Router::add("{$POSTPATH}/([^/]+)/", function($param) { require 'core/include/post/main.php'; });
+Router::add("{$USERPATH}/([^/]+)/", function($param) { require 'core/include/user/main.php'; });
#===============================================================================
# ROUTE: Item overview
#===============================================================================
-Router::add("{$PAGEPATH}/", function() { require 'system/page/list.php'; });
-Router::add("{$POSTPATH}/", function() { require 'system/post/list.php'; });
-Router::add("{$USERPATH}/", function() { require 'system/user/list.php'; });
+Router::add("{$PAGEPATH}/", function() { require 'core/include/page/list.php'; });
+Router::add("{$POSTPATH}/", function() { require 'core/include/post/list.php'; });
+Router::add("{$USERPATH}/", function() { require 'core/include/user/list.php'; });
#===============================================================================
# REDIRECT: Item (trailing slash)
@@ -43,28 +43,28 @@ Router::addRedirect("{$USERPATH}", Application::getUserURL());
# ROUTE: Home
#===============================================================================
Router::add('', function() {
- require 'system/home.php';
+ require 'core/include/home.php';
});
#===============================================================================
# ROUTE: Feed
#===============================================================================
Router::add('feed/', function() {
- require 'system/feed/main.php';
+ require 'core/include/feed/main.php';
});
#===============================================================================
# ROUTE: Feed [item type only]
#===============================================================================
Router::add('feed/(page|post)/', function($param) {
- require 'system/feed/main.php';
+ require 'core/include/feed/main.php';
});
#===============================================================================
# ROUTE: Search
#===============================================================================
Router::add('search/', function() {
- require 'system/search/main.php';
+ require 'core/include/search/main.php';
});
#===============================================================================