reasonableframework/helper/migrate.1.5.php

22 lines
401 B
PHP
Raw Normal View History

2020-02-24 05:03:45 +00:00
<?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")) {
2020-02-24 05:04:15 +00:00
function get_scope($k) {
2020-02-24 05:03:45 +00:00
return get_shared_var($k);
}
}