diff options
Diffstat (limited to 'pages/toys.inc')
-rw-r--r-- | pages/toys.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pages/toys.inc b/pages/toys.inc index 8e9ba57..9032944 100644 --- a/pages/toys.inc +++ b/pages/toys.inc @@ -188,6 +188,8 @@ require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/keywords.inc'; if (!file_exists($_SERVER['DOCUMENT_ROOT'] . "/includes/data/toys/toys.json")) file_put_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/toys/toys.json", "[]"); global $_PROFILE; +global $pagename; +$parts = explode("/", $pagename); ?> |