API17

Difference between revisions of "JPath::check"

From Joomla! Documentation

m (JoomlaWikiBot moved page JPath::check/11.1 to API17:JPath::check without leaving a redirect: Robot: Moved page)
m (→‎User contributed notes: moving preparation)
Line 57: Line 57:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JPath]][[Category:JPath::check]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 16:59, 11 May 2013

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JPath::check[edit]

Description[edit]

Checks for snooping outside of the file system root.

Template:Description:JPath::check [Edit Descripton]

public static function check (
        $path
        $ds=DIRECTORY_SEPARATOR
)
Parameter Type Default Description
$path string A file system path to check
$ds string DIRECTORY_SEPARATOR Directory separator (optional)
  • Returns string A cleaned version of the path
  • Defined on line 143 of libraries/joomla/filesystem/path.php
  • Since Joomla 11.1
  • Referenced by

See also[edit]

Template:SeeAlso:JPath::check [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />