dolibarr 23.0.3
filefunc.inc.php File Reference

File that include the conf.php file and commons lib like functions.lib.php. More...

Go to the source code of this file.

Functions

if(!defined('LOG_DEBUG')) if(defined( 'DOL_INC_FOR_VERSION_ERROR')) dol_session_start ()
 Replace session_start()
 
 dol_session_regenerate_id ()
 Replace session_regenerate_id()
 
 dol_session_rotate ($sessionname='')
 Destroy and recreate a new session without losing content.
 

Variables

 $conffile = "conf/conf.php"
 

Detailed Description

File that include the conf.php file and commons lib like functions.lib.php.

Definition in file filefunc.inc.php.

Function Documentation

◆ dol_session_regenerate_id()

dol_session_regenerate_id ( )

Replace session_regenerate_id()

Returns
bool True if success, false if failed

Definition at line 76 of file filefunc.inc.php.

◆ dol_session_rotate()

dol_session_rotate ( $sessionname = '')

Destroy and recreate a new session without losing content.

Not used yet.

Parameters
string$sessionnameSession name
Returns
void

Definition at line 88 of file filefunc.inc.php.

References dol_session_start().

◆ dol_session_start()

if(!defined( 'LOG_DEBUG')) if(defined('DOL_INC_FOR_VERSION_ERROR')) dol_session_start ( )

Replace session_start()

Returns
void

Definition at line 66 of file filefunc.inc.php.

Referenced by dol_session_rotate().

Variable Documentation

◆ $conffile

$conffile = "conf/conf.php"

Migrate file from old path to new one for mailing $mailing

Parameters
Mailing$mailingObject mailing
Returns
void

Definition at line 122 of file filefunc.inc.php.

Referenced by getFilesUpdated(), and write_conf_file().