Files
VestaCP/web/vesta/core/VestaSession.class.php
2011-09-02 21:39:10 +03:00

26 lines
401 B
PHP

<?php
class VestaSession
{
static public $instance = null;
/**
* Grab current instance or create it
*
* @return AjaxHandler
*/
static function getInstance()
{
return null == self::$instance ? self::$instance = new self() : self::$instance;
}
public function getUser()
{
return array('uid' => 'vesta');
}
}
?>