Skip to content

Instantly share code, notes, and snippets.

View ewwink's full-sized avatar

erwin solihin ewwink

View GitHub Profile
@ewwink
ewwink / functions.php
Last active December 13, 2015 22:28
Simple Login / Authentication Integration eXtplorer with your PHP Application. eXtplorer is A PHP and JavaScript- based File Manager
<?php
require_once('eXtplorer/libraries/standalone.php');
// check if session ["credentials_extplorer"] present if not redirect to "login.php"
if(!isset($_SESSION["credentials_extplorer"]["username"])){
include("login.php");
session_destroy();
exit;
}
?>