Class 'PortfolioUrl_Model' was not found, code - 0
107 }
108
109 if(file_exists($currentPath.DS.$classDir.DS.$classFile)) {
110 require_once($currentPath.DS.$classDir.DS.$classFile);
111 return true;
112 }
113
114
115
116 if($throwOnFalse && $notController && !class_exists($class, false) && !interface_exists($class, false)){
117 throw new Slash_Loader_Exception("Class '$class' was not found");
118 }
119 return false;
120 }
121 /**
122 * Method to explicitly load a file
123 *
124 * @param string $file The filename to load
125 * @param string $dir [optional] The directory to include file from,
126 * defaults to application path
127 * @return bool Returns true on success false otherwise