Revision 1277
Added by Luisehahne almost 16 years ago
| class.login.php | ||
|---|---|---|
| 1 | 1 |
<?php |
| 2 |
/* |
|
| 3 |
* |
|
| 4 |
* About WebsiteBaker |
|
| 5 |
* |
|
| 6 |
* Website Baker is a PHP-based Content Management System (CMS) |
|
| 7 |
* designed with one goal in mind: to enable its users to produce websites |
|
| 8 |
* with ease. |
|
| 9 |
* |
|
| 10 |
* LICENSE INFORMATION |
|
| 11 |
* |
|
| 12 |
* WebsiteBaker is free software; you can redistribute it and/or |
|
| 13 |
* modify it under the terms of the GNU General Public License |
|
| 14 |
* as published by the Free Software Foundation; either version 2 |
|
| 15 |
* of the License, or (at your option) any later version. |
|
| 16 |
* |
|
| 17 |
* WebsiteBaker is distributed in the hope that it will be useful, |
|
| 18 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 19 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|
| 20 |
* See the GNU General Public License for more details. |
|
| 21 |
* |
|
| 22 |
* You should have received a copy of the GNU General Public License |
|
| 23 |
* along with this program; if not, write to the Free Software |
|
| 24 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|
| 25 |
* |
|
| 26 |
* WebsiteBaker Extra Information |
|
| 27 |
* |
|
| 28 |
* |
|
| 29 |
*/ |
|
| 30 | 2 |
/** |
| 31 | 3 |
* |
| 32 | 4 |
* @category backend |
| ... | ... | |
| 42 | 14 |
* @filesource $HeadURL$ |
| 43 | 15 |
* @lastmodified $Date$ |
| 44 | 16 |
* |
| 45 |
*/ |
|
| 17 |
*/
|
|
| 46 | 18 |
|
| 47 | 19 |
// Stop this file from being accessed directly |
| 48 | 20 |
if(!defined('WB_URL')) {
|
| ... | ... | |
| 54 | 26 |
|
| 55 | 27 |
// Load the other required class files if they are not already loaded |
| 56 | 28 |
require_once(WB_PATH."/framework/class.admin.php"); |
| 29 |
// Get WB version |
|
| 30 |
require_once(ADMIN_PATH.'/interface/version.php'); |
|
| 57 | 31 |
|
| 58 | 32 |
class login extends admin {
|
| 59 | 33 |
function login($config_array) {
|
| ... | ... | |
| 400 | 374 |
'MAX_PASSWORD_LEN' => $this->max_password_len, |
| 401 | 375 |
'WB_URL' => WB_URL, |
| 402 | 376 |
'THEME_URL' => THEME_URL, |
| 377 |
'VERSION' => VERSION, |
|
| 378 |
'REVISION' => REVISION, |
|
| 403 | 379 |
'LANGUAGE' => strtolower(LANGUAGE), |
| 404 | 380 |
'FORGOTTEN_DETAILS_APP' => $this->forgotten_details_app, |
| 405 | 381 |
'TEXT_FORGOTTEN_DETAILS' => $TEXT['FORGOTTEN_DETAILS'], |
Also available in: Unified diff
update headertext