Platform
3.1
PHP API documentation
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Pages
Lib.Prefix.php
Go to the documentation of this file.
1
<?php
2
/**
3
* Default install directory
4
*
5
* @author Anakeen 2005
6
* @version $Id: Lib.Prefix.php.in,v 1.9 2008/12/31 14:41:35 jerome Exp $
7
* @license http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ Anakeen - licence CC
8
* @package FDL
9
* @subpackage CORE
10
*/
11
/**
12
*/
13
global
$pubdir
;
14
$pubdir
=
"/usr/share/what"
;
15
16
set_include_path(get_include_path() . PATH_SEPARATOR .
"$pubdir:$pubdir/WHAT"
);
17
18
ini_set(
"session.use_cookies"
,
"0"
);
19
ini_set(
"session.name"
,
"session"
);
20
@ini_set(
"session.use_trans_sid"
,
"0"
);
21
ini_set(
"session.cache_limiter"
,
"nocache"
);
22
ini_set(
"magic_quotes_gpc"
,
"On"
);
23
ini_set(
"default_charset"
,
"utf-8"
);
24
ini_set(
"pcre.backtrack_limit"
,
"10000000"
);
25
ini_set(
"post_max_size"
,
"80M"
);
26
ini_set(
"upload_max_filesize"
,
"80M"
);
27
//ini_set("error_reporting", ini_get("error_reporting") & ~E_NOTICE);
28
29
define(
"DEFAULT_PUBDIR"
,
$pubdir
);
30
define(
"HTTP_USER"
,
"http"
);
31
?>
← centre documentaire
© anakeen
- published under
CC License
-
Dynacase