Subversion Repositories eFlore/Applications.cel

Rev

Rev 2149 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2149 Rev 2152
Line 220... Line 220...
220
		if (!is_null($mime) && !is_null($encodage)) {
220
		if (!is_null($mime) && !is_null($encodage)) {
221
			header("Content-Type: $mime; charset=$encodage");
221
			header("Content-Type: $mime; charset=$encodage");
222
		} else if (!is_null($mime) && is_null($encodage)) {
222
		} else if (!is_null($mime) && is_null($encodage)) {
223
			header("Content-Type: $mime");
223
			header("Content-Type: $mime");
224
		}
224
		}
-
 
225
		http_response_code(200);// OK
225
		print $contenu;
226
		print $contenu;
226
	}
227
	}
Line 227... Line 228...
227
 
228
 
228
	static function envoyerAuth($message_accueil, $message_echec) {
229
	static function envoyerAuth($message_accueil, $message_echec) {