Subversion Repositories Sites.tela-botanica.org

Rev

Rev 480 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 480 Rev 592
Line 1... Line 1...
1
<?php
1
<?php
2
/**
2
/**
3
 * $Id: tapir.php 575 2008-03-28 20:52:13Z rdg $
3
 * $Id: tapir.php 1953 2009-01-05 19:59:53Z rdg $
4
 * 
4
 * 
5
 * LICENSE INFORMATION
5
 * LICENSE INFORMATION
6
 * 
6
 * 
7
 * This program is free software; you can redistribute it and/or
7
 * This program is free software; you can redistribute it and/or
8
 * modify it under the terms of the GNU General Public License
8
 * modify it under the terms of the GNU General Public License
Line 113... Line 113...
113
$g_dlog->debug( 'Include path: '.ini_get( 'include_path' ) );
113
$g_dlog->debug( 'Include path: '.ini_get( 'include_path' ) );
Line 114... Line 114...
114
 
114
 
115
// Set the maximum script run time
115
// Set the maximum script run time
116
// Note: if php set safe mode is on then this can't be set from here, 
116
// Note: if php set safe mode is on then this can't be set from here, 
-
 
117
// and will need to be set in php.ini file
117
// and will need to be set in php.ini file
118
// Définit à 120 par TapirLink mis à 60 globalement pour Sequoia car safe_mode actif
118
if (! ini_get('safe_mode') ) {
119
if (! ini_get('safe_mode') ) {
119
	set_time_limit( TP_MAX_RUNTIME );
120
	set_time_limit( TP_MAX_RUNTIME );
Line 120... Line 121...
120
}
121
}
Line 201... Line 202...
201
    $response = new TpResponse( $request );
202
    $response = new TpResponse( $request );
202
    $response->ReturnError( 'Failed to parse request' );
203
    $response->ReturnError( 'Failed to parse request' );
203
    die();
204
    die();
204
}
205
}
Line -... Line 206...
-
 
206
 
-
 
207
// By default, assume that the database encoding cannot be detected 
-
 
208
// by the mb_detect_encoding PHP function
-
 
209
global $g_encoding_can_be_detected;
205
 
210
 
Line 206... Line 211...
206
$operation = $request->GetOperation();
211
$operation = $request->GetOperation();
207
 
212
 
208
if ( $operation == 'ping' )
213
if ( $operation == 'ping' )