Revision 1673
Added by Luisehahne over 13 years ago
| signup.php | ||
|---|---|---|
| 17 | 17 |
*/ |
| 18 | 18 |
|
| 19 | 19 |
require_once('../config.php');
|
| 20 |
ini_set('display_errors','0');
|
|
| 20 | 21 |
|
| 21 | 22 |
if(!( intval(FRONTEND_SIGNUP) && ( 0 == (isset($_SESSION['USER_ID']) ? intval($_SESSION['USER_ID']) : 0) ))) |
| 22 | 23 |
{
|
| ... | ... | |
| 48 | 49 |
} |
| 49 | 50 |
|
| 50 | 51 |
$page_id = (isset($_SESSION['PAGE_ID']) && ($_SESSION['PAGE_ID']!='') ? $_SESSION['PAGE_ID'] : 0); |
| 52 |
$_SESSION['display_form'] = true; |
|
| 51 | 53 |
|
| 52 | 54 |
// Required page details |
| 53 | 55 |
// $page_id = 0; |
| ... | ... | |
| 62 | 64 |
define('MODULE', '');
|
| 63 | 65 |
define('VISIBILITY', 'public');
|
| 64 | 66 |
|
| 67 |
define('PAGE_CONTENT', WB_PATH.'/account/signup_form.php');
|
|
| 68 |
/* |
|
| 65 | 69 |
// Set the page content include file |
| 66 | 70 |
if(isset($_POST['username'])) {
|
| 67 | 71 |
define('PAGE_CONTENT', WB_PATH.'/account/signup2.php');
|
| 68 | 72 |
} else {
|
| 69 | 73 |
define('PAGE_CONTENT', WB_PATH.'/account/signup_form.php');
|
| 70 | 74 |
} |
| 71 |
|
|
| 75 |
*/ |
|
| 72 | 76 |
// Set auto authentication to false |
| 73 | 77 |
$auto_auth = false; |
| 74 | 78 |
|
Also available in: Unified diff
! fixed signup, remove $admin->print_error methods
+ add send registation mail to systemadministartor