Skip to content

Commit 09353b4

Browse files
committed
don't expose php version
1 parent e254f14 commit 09353b4

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

www/idp/index.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?php
2-
ini_set( 'session.cookie_httponly', 1 );
2+
ini_set('session.cookie_httponly', 1);
3+
ini_set('expose_php', 'off');
34

45
require_once(__DIR__ . "/../../config.php");
56
require_once(__DIR__ . "/../../vendor/autoload.php");

www/profile/index.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<?php
2+
ini_set('expose_php', 'off');
3+
24
require_once(__DIR__ . "/../../config.php");
35
require_once(__DIR__ . "/../../vendor/autoload.php");
46

www/profile/storage.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<?php
2+
ini_set('expose_php', 'off');
3+
24
require_once(__DIR__ . "/../../config.php");
35
require_once(__DIR__ . "/../../vendor/autoload.php");
46

0 commit comments

Comments
 (0)