1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 12:48:26 +02:00

Fix for PHP warning.

This commit is contained in:
Cameron
2014-01-28 06:00:46 -08:00
parent 104b8ee8c7
commit eaecc593ae

View File

@@ -53,7 +53,10 @@ class siteinfo_shortcodes // must match the folder name of the plugin.
function sc_logo($parm = '') function sc_logo($parm = '')
{ {
parse_str(vartrue($parm)); // Optional {LOGO=file=file_name} or {LOGO=link=url} or {LOGO=file=file_name&link=url} if(is_string($parm))
{
parse_str(vartrue($parm),$parm); // Optional {LOGO=file=file_name} or {LOGO=link=url} or {LOGO=file=file_name&link=url}
}
// Paths to image file, link are relative to site base // Paths to image file, link are relative to site base
$tp = e107::getParser(); $tp = e107::getParser();