File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 15
15
use Ubiquity \utils \http \UCookie ;
16
16
17
17
class Framework {
18
- public const version = '2.0.0-beta.1 ' ;
18
+ public const version = '2.0.2 ' ;
19
19
20
20
public static function getController () {
21
- return Startup::getController ();
21
+ return Startup::getController ();
22
22
}
23
23
24
24
public static function getAction () {
25
- return Startup::getAction ();
25
+ return Startup::getAction ();
26
26
}
27
27
28
28
public static function getUrl () {
29
- return \implode ( "/ " , Startup::$ urlParts );
29
+ return \implode ( "/ " , Startup::$ urlParts );
30
30
}
31
31
32
32
public static function getRouter () {
33
- return new Router ();
33
+ return new Router ();
34
34
}
35
35
36
36
public static function getRequest () {
37
- return new URequest ();
37
+ return new URequest ();
38
38
}
39
39
40
40
public static function getSession () {
41
- return new USession ();
41
+ return new USession ();
42
42
}
43
43
44
44
public static function getCookies () {
45
- return new UCookie ();
45
+ return new UCookie ();
46
46
}
47
47
48
48
public static function hasAdmin () {
49
- return \class_exists ( "controllers\Admin " );
49
+ return \class_exists ( "controllers\Admin " );
50
50
}
51
51
}
52
52
You can’t perform that action at this time.
0 commit comments