Skip to content

Commit

Permalink
Update register.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Flavius12 committed May 29, 2015
1 parent ea6c942 commit a12e414
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ServerAuthAccountManager/register.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php
error_reporting(0);
session_start();
/*
* ServerAuth Account Manager (v1.0) by EvolSoft
* Developer: EvolSoft (Flavius12)
Expand All @@ -20,15 +22,13 @@
<title>ServerAuth Account Manager</title>
</head>
<?php
session_start();
if(isset($_SESSION["admin_login"])){
header("Location: admin.php");
}
if(isset($_SESSION["login"])){
header("Location: login.php");
}
$cfg_status = file_exists('config.php');
error_reporting(E_NOTICE);
include 'ServerAuthWebAPI.php';
if($cfg_status){
include 'config.php';
Expand Down

0 comments on commit a12e414

Please sign in to comment.