summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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';
});
#===============================================================================