<?php function load_class( $name ){ global $include_root; $filePath = $include_root.$name; if ( file_exists( $filePath ) ){ require_once( $filePath ); } else{ echo 'load_class: error load class "'.$name.'"'; exit; } } ?>