Administrator plugin - Functions
Fixes trailing delimiter issues in paths
Change paths containing SM_PATH to admin-friendly paths
relative to the config dir, i.e.: '' --> <empty string> SM_PATH . 'images/logo.gif' --> ../images/logo.gif '/absolute/path/logo.gif' --> /absolute/path/logo.gif 'http://whatever/' --> http://whatever Note removal of quotes in returned value
Change relative path (relative to config dir) to
internal SM_PATH, i.e.: empty_string --> '' ../images/logo.gif --> SM_PATH . 'images/logo.gif' images/logo.gif --> SM_PATH . 'config/images/logo.gif' /absolute/path/logo.gif --> '/absolute/path/logo.gif' http://whatever/ --> 'http://whatever'
parse the config file
Documentation generated on Sun, 22 Nov 2009 17:36:31 +0200 by phpDocumentor 1.4.3