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);