Create migrate.1.5.php
This commit is contained in:
parent
bfa2fc4009
commit
6112a16718
21
helper/migrate.1.5.php
Normal file
21
helper/migrate.1.5.php
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
<?php
|
||||||
|
// @file migrate.1.5.php
|
||||||
|
// migration helper from ResaonbleFramework 1.5
|
||||||
|
|
||||||
|
if(!is_fn("check_function_exists")) {
|
||||||
|
function check_function_exists($fn) {
|
||||||
|
return is_fn($fn);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if(!is_fn("set_scope")) {
|
||||||
|
function set_scope($k, $v) {
|
||||||
|
return set_shared_var($k, $v);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if(!is_fn("get_scope")) {
|
||||||
|
functon get_scope($k) {
|
||||||
|
return get_shared_var($k);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user