Revision 077e4de7
Prise en compte conventions de codage
Change-Id: I74d6ea904e099519e7d2b08f0586696470514280
Reviewed-on: https://vigilo-dev.si.c-s.fr/review/2367
Tested-by: Build system <qa@vigilo-dev.si.c-s.fr>
Reviewed-by: Francois POIROTTE <francois.poirotte@c-s.fr>
src/ajax/getVTValue.php | ||
---|---|---|
1 | 1 |
<?php |
2 | 2 |
|
3 | 3 |
if (strpos(filter_input(INPUT_SERVER, "PHP_SELF"), "getVTValue.php")) { |
4 |
include(dirname(dirname(__DIR__)) . |
|
5 |
DIRECTORY_SEPARATOR . "inc" . |
|
6 |
DIRECTORY_SEPARATOR . "includes.php"); |
|
4 |
include(dirname(dirname(__DIR__)) .
|
|
5 |
DIRECTORY_SEPARATOR . "inc" .
|
|
6 |
DIRECTORY_SEPARATOR . "includes.php");
|
|
7 | 7 |
|
8 |
header("Content-Type: text/html; charset=UTF-8"); |
|
9 |
Html::header_nocache(); |
|
8 |
header("Content-Type: text/html; charset=UTF-8");
|
|
9 |
Html::header_nocache();
|
|
10 | 10 |
} |
11 | 11 |
|
12 | 12 |
if (!defined('GLPI_ROOT')) { |
13 |
die("Can not acces directly to this file"); |
|
13 |
die("Can not acces directly to this file");
|
|
14 | 14 |
} |
15 | 15 |
|
16 | 16 |
$ret = array(); |
... | ... | |
23 | 23 |
$ret['count'] = count($ret['results']); |
24 | 24 |
|
25 | 25 |
echo json_encode($ret); |
26 |
|
|
27 |
?> |
Also available in: Unified diff