Update base.php
This commit is contained in:
parent
e0aa26faf9
commit
97feab6a13
|
@ -6,6 +6,14 @@
|
|||
* @brief Base module
|
||||
*/
|
||||
|
||||
// get all scope
|
||||
if(!function_exists("get_scope_all")) {
|
||||
function get_scope_all() {
|
||||
global $scope;
|
||||
return $scope;
|
||||
}
|
||||
}
|
||||
|
||||
// set scope
|
||||
if(!function_exists("set_scope")) {
|
||||
function set_scope($k, $v) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user