Project

General

Profile

« Previous | Next » 

Revision 540

Added by Matthias almost 17 years ago

Replaced the variable PAGE_EXTENSION with hardcoded .php on all places where the pathes points to WB Corefiles with the page extension .php

View differences:

class.frontend.php
201 201
			// Check if the user is authenticated
202 202
			if($this->is_authenticated() == false) {
203 203
				// User needs to login first
204
				header("Location: ".WB_URL."/account/login".PAGE_EXTENSION.'?redirect='.$this->link);
204
				header("Location: ".WB_URL."/account/login.php?redirect=".$this->link);
205 205
				exit(0);
206 206
			}
207 207
			// Check if we should show this page
......
250 250
		// Work-out if login menu constants should be set
251 251
		if(FRONTEND_LOGIN) {
252 252
			// Set login menu constants
253
			define('LOGIN_URL', WB_URL.'/account/login'.PAGE_EXTENSION);
254
			define('LOGOUT_URL', WB_URL.'/account/logout'.PAGE_EXTENSION);
255
			define('FORGOT_URL', WB_URL.'/account/forgot'.PAGE_EXTENSION);
256
			define('PREFERENCES_URL', WB_URL.'/account/preferences'.PAGE_EXTENSION);
257
			define('SIGNUP_URL', WB_URL.'/account/signup'.PAGE_EXTENSION);
253
			define('LOGIN_URL', WB_URL.'/account/login.php');
254
			define('LOGOUT_URL', WB_URL.'/account/logout.php');
255
			define('FORGOT_URL', WB_URL.'/account/forgot.php');
256
			define('PREFERENCES_URL', WB_URL.'/account/preferences.php');
257
			define('SIGNUP_URL', WB_URL.'/account/signup.php');
258 258
		}
259 259
	}
260 260
	

Also available in: Unified diff