Create migrate.1.5.php

This commit is contained in:
Namhyeon Go 2020-02-24 14:03:45 +09:00 committed by GitHub
parent bfa2fc4009
commit 6112a16718
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

21
helper/migrate.1.5.php Normal file
View 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);
}
}