View Single Post
  #116  
Old 12th April 2009, 23:52
thereal thereal is offline
Senior Member
 
Join Date: Apr 2009
P2P
Posts: 16
Default
Quote:
Originally Posted by brysf150 View Post
for new staff add them to STAFFNAMES and STAFFIDS in /settings





on takelogin.php replace

Code:
function bark($text) 
{ 
print("<title>Error!</title>"); 
print("<table width='100%' height='100%' style='border: 8px ridge #000000'><tr><td align='center'>"); 
print("<center><h1 style='color: #CC3300;'>Error:</h1><h2>" . htmlspecialchars($text) . "</h2></center>"); 
print("<center><INPUT TYPE='button' VALUE='Back' onClick=\"history.go(-1)\"></center>"); 
print("</td></tr></table>"); 
die; 
}
with

Code:
function bark($text = "Username or password incorrect")
{
  stderr("Login failed!", $text);
}

but now it takes me to a blank screen after login?
Reply With Quote