Public feed #377913

Unnamed

public text v1 · immutable
Raw Edit
·published 2007-03-02 03:22 UTC
rendered paste body
<?

if(!defined("osWindows")) define("osWindows",1);
if(!defined("osLinux")) define("osLinux",2);

if(!function_exists("os")) {
	function os() {
		if(strpos(strtoupper(PHP_OS),"WIN")>-1) {
			return osWindows;
		} else {
			return osLinux;	
		}
	}
}

if(os()==osWindows) {
	ini_set("include_path", ".;../;../../");
} else {
	ini_set("include_path", ".:../:../../");
}
ini_set("display_errors","On");
error_reporting(E_ERROR | E_WARNING | E_PARSE);

?>