/** * method: expandPath * * todo: write documentation */ public static function expandPath($path) { // NOTE: this doesn't happen anymore, I think I got rid of this idea because it was never used // Loop through all the paths given in the htaccess file and attempt to replace them foreach (Amslib_Router::listPaths() as $key) { $path = str_replace($key, Amslib_Router::getPath($key), $path); } return Amslib_Website::expandPath($path); }