PHP Classes

File: admin/quixplorer/_include/session.php

Recommend this page to a friend!
  Classes of Joko Prasetyo   miwo WordPress FTP Plugin   admin/quixplorer/_include/session.php   Download  
File: admin/quixplorer/_include/session.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: miwo WordPress FTP Plugin
WordPress plugin to upload and manage files
Author: By
Last change:
Date: 1 year ago
Size: 498 bytes
 

Contents

Class file image Download
<?php
/*
* @package MiwoFTP
* @copyright Copyright (C) 2009-2014 Miwisoft, LLC. All rights reserved.
* @license GNU General Public License version 2 or later
*
*/

// no direct access
defined('ABSPATH') or die('MIWI');

/**
    This function allows access to session variables
*/
function session_get ($name)
{
   
$user = $GLOBALS['__SESSION']["s_user"];
    if (!isset(
$GLOBALS['__SESSION']))
        return;

    if (!isset(
$GLOBALS['__SESSION'][$name]))
        return;
   
    return
$GLOBALS['__SESSION'][$name];
}

?>