[fix] work with 1.x
This commit is contained in:
parent
234568a6ed
commit
0f3554820f
|
@ -112,7 +112,15 @@ function __autoload($class_name)
|
||||||
// ==================================================================
|
// ==================================================================
|
||||||
// ==================================================================
|
// ==================================================================
|
||||||
|
|
||||||
require_once("/usr/share/alternc/panel/class/config_nochk.php");
|
// alternc 1.0
|
||||||
|
if(is_file("/usr/share/alternc/panel/class/config_nochk.php")){
|
||||||
|
require_once("/usr/share/alternc/panel/class/config_nochk.php");
|
||||||
|
|
||||||
|
}else{
|
||||||
|
require_once("/var/alternc/bureau/class/config_nochk.php");
|
||||||
|
include "../bureau/class/class_system_bind.php";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue