Aggiorna 'manager.php'
This commit is contained in:
13
manager.php
13
manager.php
@@ -19,18 +19,11 @@ and open the template in the editor.
|
|||||||
<body>
|
<body>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
require '/sda1/www/idp.runpolito.ml/vendor/autoload.php';
|
require '/percorso/simplesamlphp/library/vendor/autoload.php';
|
||||||
require_once '/sda1/www/idp.runpolito.ml/lib/_autoload.php';
|
require_once '/percorso/simplesamlphp/library/lib/_autoload.php';
|
||||||
require 'lib/r4fb.php';
|
require 'lib/r4fb.php';
|
||||||
//require 'lib/sns.php';
|
|
||||||
//session_start();
|
|
||||||
$auth = new \SimpleSAML\Auth\Simple('runpolito-sp');
|
|
||||||
|
|
||||||
/*if (!$auth->isAuthenticated()) {
|
$auth = new \SimpleSAML\Auth\Simple('nomeSP');
|
||||||
SimpleSAML_Session::getSessionFromRequest()->cleanup();
|
|
||||||
// Show login link.
|
|
||||||
print('<a href="/login">Login</a>');
|
|
||||||
}*/
|
|
||||||
|
|
||||||
//Auth livello 1:
|
//Auth livello 1:
|
||||||
$auth->requireAuth();
|
$auth->requireAuth();
|
||||||
|
|||||||
Reference in New Issue
Block a user