summaryrefslogtreecommitdiffstats
path: root/pages/content/Login.xml
diff options
context:
space:
mode:
Diffstat (limited to 'pages/content/Login.xml')
-rw-r--r--pages/content/Login.xml5
1 files changed, 1 insertions, 4 deletions
diff --git a/pages/content/Login.xml b/pages/content/Login.xml
index 3f69400..6bbaf7c 100644
--- a/pages/content/Login.xml
+++ b/pages/content/Login.xml
@@ -11,10 +11,7 @@
<![CDATA[
<?PHP
if($_POST['name'] && $_POST['password'] && $_POST['page']) {
- require_once('code/user.inc.php');
- require_once('code/links.inc.php');
- require_once('code/message.inc.php');
- require_once('code/util.inc.php');
+ Uses('user', 'links', 'message', 'util');
if($GLOBALS['user']->Login(Unquote($_POST['name']), Unquote($_POST['password']))) {
header('Location: ' . $GLOBALS['links']->GetNeonLink($_POST['page'], null, false));