$CONFIG_DBTYPE='sqlite';
// include the generated configfile
-@oc_include_once('config.php');
+@include_once($SERVERROOT.'/config/config.php');
// redirect to https site if configured
if(isset($CONFIG_HTTPFORCESSL) and $CONFIG_HTTPFORCESSL){
require($SERVERROOT.'/'.$file);
}elseif(is_file($SERVERROOT.'/inc/'.$file)){
require($SERVERROOT.'/inc/'.$file);
- }elseif(is_file($SERVERROOT.'/config/'.$file)){
- require($SERVERROOT.'/config/'.$file);
}
}
require_once($SERVERROOT.'/'.$file);
}elseif(is_file($SERVERROOT.'/inc/'.$file)){
require_once($SERVERROOT.'/inc/'.$file);
- }elseif(is_file($SERVERROOT.'/config/'.$file)){
- require_once($SERVERROOT.'/config/'.$file);
}
}
include($SERVERROOT.'/'.$file);
}elseif(is_file($SERVERROOT.'/inc/'.$file)){
include($SERVERROOT.'/inc/'.$file);
- }elseif(is_file($SERVERROOT.'/config/'.$file)){
- include($SERVERROOT.'/config/'.$file);
}
}
include_once($SERVERROOT.'/'.$file);
}elseif(is_file($SERVERROOT.'/inc/'.$file)){
include_once($SERVERROOT.'/inc/'.$file);
- }elseif(is_file($SERVERROOT.'/config/'.$file)){
- include_once($SERVERROOT.'/config/'.$file);
}
}
if(isset($_GET['file'])) {
OC_FILES::get($dir,$_GET['file']);
-OC_FILES::get($dir,$_GET['file']);
-OC_FILES::get($dir,$_GET['file']);
-echo('heya');
}else{
OC_UTIL::addscript('js/ajax.js');