Version 4.1.2
This commit is contained in:
1 parent
3ba79295ee
commit
28bd025b35
1131 files changed
+63658
-20579
No files matched your search
@@ -38,6 +38,13 @@ class _Setting
|
||||
*/
|
||||
public static function runPlugin( $data, $options )
|
||||
{
|
||||
return "\IPS\Settings::i()->$data";
|
||||
if ( isset( $options['escape'] ) )
|
||||
{
|
||||
return "htmlspecialchars( \IPS\Settings::i()->$data, ENT_QUOTES | \IPS\HTMLENTITIES, 'UTF-8', TRUE )";
|
||||
}
|
||||
else
|
||||
{
|
||||
return "\IPS\Settings::i()->$data";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user