We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f651c68 commit f65b8c6Copy full SHA for f65b8c6
1 file changed
web/vesta/core/VestaSession.class.php
@@ -0,0 +1,25 @@
1
+<?php
2
+
3
+class VestaSession
4
+{
5
6
+ static public $instance = null;
7
8
+ /**
9
+ * Grab current instance or create it
10
+ *
11
+ * @return AjaxHandler
12
+ */
13
+ static function getInstance()
14
+ {
15
+ return null == self::$instance ? self::$instance = new self() : self::$instance;
16
+ }
17
18
+ public function getUser()
19
20
+ return array('uid' => 'vesta');
21
22
23
+}
24
25
+?>
0 commit comments