Subversion-Projekte lars-tiefland.ci

Revision

Revision 2041 | Revision 2081 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 2041 Revision 2047
Zeile 1... Zeile 1...
1
<?php
1
<?php
-
 
2
 
2
defined('BASEPATH') OR exit('No direct script access allowed');
3
defined('BASEPATH') OR exit('No direct script access allowed');
Zeile 3... Zeile 4...
3
 
4
 
4
/*
5
/*
5
|--------------------------------------------------------------------------
6
|--------------------------------------------------------------------------
Zeile 21... Zeile 22...
21
|
22
|
22
| If you need to allow multiple domains, remember that this file is still
23
| If you need to allow multiple domains, remember that this file is still
23
| a PHP script and you can easily do that on your own.
24
| a PHP script and you can easily do that on your own.
24
|
25
|
25
*/
26
*/
-
 
27
$prot = "http";
-
 
28
if ($_SERVER["HTTPS"] && $_SERVER["HTTPS"] != "off")
-
 
29
{
-
 
30
	$prot = "https";
-
 
31
}
26
$config['base_url'] = $_SERVER['SERVER_PROTOCOL'].'://'.$_SERVER['SERVER_NAME'].'/backend';
32
$config['base_url'] = $prot.'://'.$_SERVER['SERVER_NAME'].'/backend';
Zeile 27... Zeile 33...
27
 
33
 
28
/*
34
/*
29
|--------------------------------------------------------------------------
35
|--------------------------------------------------------------------------
30
| Index File
36
| Index File
Zeile 50... Zeile 56...
50
| 'QUERY_STRING'   Uses $_SERVER['QUERY_STRING']
56
| 'QUERY_STRING'   Uses $_SERVER['QUERY_STRING']
51
| 'PATH_INFO'      Uses $_SERVER['PATH_INFO']
57
| 'PATH_INFO'      Uses $_SERVER['PATH_INFO']
52
|
58
|
53
| WARNING: If you set this to 'PATH_INFO', URIs will always be URL-decoded!
59
| WARNING: If you set this to 'PATH_INFO', URIs will always be URL-decoded!
54
*/
60
*/
55
$config['uri_protocol']	= 'REQUEST_URI';
61
$config['uri_protocol'] = 'REQUEST_URI';
Zeile 56... Zeile 62...
56
 
62
 
57
/*
63
/*
58
|--------------------------------------------------------------------------
64
|--------------------------------------------------------------------------
59
| URL suffix
65
| URL suffix
Zeile 74... Zeile 80...
74
| This determines which set of language files should be used. Make sure
80
| This determines which set of language files should be used. Make sure
75
| there is an available translation if you intend to use something other
81
| there is an available translation if you intend to use something other
76
| than english.
82
| than english.
77
|
83
|
78
*/
84
*/
79
$config['language']	= 'english';
85
$config['language'] = 'english';
Zeile 80... Zeile 86...
80
 
86
 
81
/*
87
/*
82
|--------------------------------------------------------------------------
88
|--------------------------------------------------------------------------
83
| Default Character Set
89
| Default Character Set
Zeile 388... Zeile 394...
388
|
394
|
389
| Note: These settings (with the exception of 'cookie_prefix' and
395
| Note: These settings (with the exception of 'cookie_prefix' and
390
|       'cookie_httponly') will also affect sessions.
396
|       'cookie_httponly') will also affect sessions.
391
|
397
|
392
*/
398
*/
393
$config['cookie_prefix']	= '';
399
$config['cookie_prefix'] = '';
394
$config['cookie_domain']	= '';
400
$config['cookie_domain'] = '';
395
$config['cookie_path']		= '/';
401
$config['cookie_path'] = '/';
396
$config['cookie_secure']	= FALSE;
402
$config['cookie_secure'] = FALSE;
397
$config['cookie_httponly'] 	= FALSE;
403
$config['cookie_httponly'] = FALSE;
Zeile 398... Zeile 404...
398
 
404
 
399
/*
405
/*
400
|--------------------------------------------------------------------------
406
|--------------------------------------------------------------------------
401
| Standardize newlines
407
| Standardize newlines