Project

General

Profile

« Previous | Next » 

Revision 231

Added by ryan about 19 years ago

Added direct-access redirection on some files (see ticket #37)

View differences:

trunk/wb/admin/groups/get_permissions.php
22 22
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23 23

  
24 24
*/
25

  
25 26
if(!defined('WB_PATH')) { exit('Direct access to this file is not allowed'); }
26 27

  
27 28
// Get system permissions
trunk/wb/admin/interface/time_formats.php
31 31

  
32 32
*/
33 33

  
34
if(!defined('WB_URL')) {
35
	header('Location: ../index.php');
36
}
37

  
34 38
// Define that this file is loaded
35 39
if(!defined('TIME_FORMATS_LOADED')) {
36 40
	define('TIME_FORMATS_LOADED', true);
trunk/wb/admin/interface/timezones.php
31 31

  
32 32
*/
33 33

  
34
if(!defined('WB_URL')) {
35
	header('Location: ../index.php');
36
}
37

  
34 38
// Create array
35 39
$TIMEZONES = array();
36 40

  
trunk/wb/admin/interface/er_levels.php
1 1
<?php
2 2

  
3
// $Id: er_levels.php,v 1.1.1.1 2005/01/30 10:30:21 rdjurovich Exp $
3
// $Id$
4 4

  
5 5
/*
6 6

  
......
32 32

  
33 33
*/
34 34

  
35
if(!defined('WB_URL')) {
36
	header('Location: ../index.php');
37
}
38

  
35 39
// Define that this file is loaded
36 40
if(!defined('ERROR_REPORTING_LEVELS_LOADED')) {
37 41
	define('ERROR_REPORTING_LEVELS_LOADED', true);
trunk/wb/admin/interface/version.php
31 31

  
32 32
*/
33 33

  
34
if(!defined('WB_URL')) {
35
	header('Location: ../index.php');
36
}
37

  
34 38
define('VERSION', '2.6.0');
35 39

  
36 40
?>
trunk/wb/admin/interface/date_formats.php
31 31

  
32 32
*/
33 33

  
34
if(!defined('WB_URL')) {
35
	header('Location: ../index.php');
36
}
37

  
34 38
// Define that this file is loaded
35 39
if(!defined('DATE_FORMATS_LOADED')) {
36 40
	define('DATE_FORMATS_LOADED', true);

Also available in: Unified diff