src/exception.php
public static function clean_paths($string) {
	$string = str_replace(ROOT_DIR, '', $string);
	$string = str_replace('.php', '', $string);
	
	return $string;
}
public static function clean_paths($string) {
	$string = str_replace(ROOT_DIR, '', $string);
	$string = str_replace('.php', '', $string);
	
	return $string;
}
public static function clean_paths ( $ string ) { $ string = str_replace ( ROOT_DIR , '' , $ string ) ; $ string = str_replace ( '.php' , '' , $ string ) ; return $ string ; }
cleans file paths from redundant information
i.e. ROOT_DIR and '.php' is removed

@param  string $string
@return string
cleans file paths from redundant information i . e . ROOT_DIR and . php is removed