File manager - Edit - /home/newsbmcs.com/public_html/play1/admin.php
Back
<?php session_start(); require( "config.php" ); require( "init.php" ); require( 'includes/plugin.php' ); $action = isset( $_GET['action'] ) ? $_GET['action'] : ""; $username = isset( $_SESSION['username'] ) ? $_SESSION['username'] : ""; if ( $action != "logout" && !$username ) { require("includes/page-login.php" ); exit; } switch ( $action ) { case 'logout': logout(); break; default: header( "Location: admin/dashboard.php" ); } function logout() { CA_Auth::delete(); unset( $_SESSION['username'] ); header( "Location: ".DOMAIN ); return; } ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.28 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings