20 lines
378 B
PHP
20 lines
378 B
PHP
|
<?php
|
||
|
ini_set("display_errors", "1");
|
||
|
|
||
|
$log= date("d-m-Y H:i") . " : avant include\n";
|
||
|
$file3 = "__test.log";
|
||
|
$ar3=fopen('logs/'.$file3,'a+');
|
||
|
fputs($ar3,$log);
|
||
|
fclose($ar3);
|
||
|
|
||
|
include(dirname(__FILE__) .'/../config/config.inc.php');
|
||
|
|
||
|
$log="apres include\n";
|
||
|
$file3 = "__test.log";
|
||
|
$ar3=fopen('logs/'.$file3,'a+');
|
||
|
fputs($ar3,$log);
|
||
|
fclose($ar3);
|
||
|
|
||
|
|
||
|
?>
|