Location: PHPKode > projects > Content*Builder > contentbuilder/root.inc
<?
// get a ever-be-perfect string for relative path to main.php ... can't live without this ....
  $tmp=explode("/",$PHP_SELF);
  $cbBasename=array_pop($tmp);
  $cbRoot=implode("/",$tmp);
  
  $cbDirGfx     = "templates/default/images/gfx/";
  $cbDirUploads = "uploads/";
  $cbDirInclude = "system/inc/";
  $cbDirSystem  = "system/";
  $cbDirLib     = "lib/";
  $cbDirPlugin  = "plugins"; // no trailing slash!!!!!!
  
  $cbSetupUrl   = "system/setup/";
  
  if(file_exists(dirname(__FILE__)."/../cb_pear/CB_PEAR.php")) {
  	require_once(dirname(__FILE__)."/../cb_pear/CB_PEAR.php");
  }
	if ( @include_once("PEAR.php") ) {  // check if pear packages available ...
		$isPearUsable = true;
	}else{
		$isPearUsable = false;
	}
?>
Return current item: Content*Builder