From 07a54d26928a354eeb344cf08b7287e703990d70 Mon Sep 17 00:00:00 2001 From: Paul Wagener Date: Wed, 19 Mar 2014 10:01:10 +0100 Subject: [PATCH] Fixed admincheck.js --- nieuws/admincheck.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nieuws/admincheck.js b/nieuws/admincheck.js index c1ea2f6..a7053a7 100644 --- a/nieuws/admincheck.js +++ b/nieuws/admincheck.js @@ -1,5 +1,5 @@ var page = require('webpage').create(); -page.open('http://localhost/nieuws/', 'post', 'gebruikersnaam=Admin&wachtwoord=sesame', function() { +page.open('http://localhost/nieuws/login.php', 'post', 'gebruikersnaam=Admin&wachtwoord=sesame', function() { setTimeout(function(){ phantom.exit(); }, 1000);