Created
March 19, 2011 16:12
-
-
Save rmdort/877572 to your computer and use it in GitHub Desktop.
Parse Expression Engine File Directories
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function parsefile($str = '') | |
{ | |
$EE =& get_instance(); | |
$str = ($str == '') ? $EE->TMPL->tagdata : $str; | |
$EE->load->library('typography'); | |
return $EE->typography->parse_file_paths($str); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment