File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Core/Model/File/Validator Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1717/**
1818 * Validator for check not protected/available path
1919 *
20- * @deprecated since 26.1 Use \ Maho\Io::allowedPath() instead for simpler and more secure path validation.
20+ * @deprecated since 26.1 Use Maho\Io::allowedPath() instead for simpler and more secure path validation.
2121 *
2222 * Mask symbols from path:
2323 * "?" - something directory with any name
2424 * "*" - something directory structure, which can not exist
25- * Note: For set directory structure which must be exist, need to set mask "/?/{@ *}"
25+ * Note: For set directory structure which must be exist, need to set mask "/?/{@ *}"
2626 * Mask symbols from filename:
2727 * "*" - something symbols in file name
2828 * Example:
2929 * <code>
3030 * //set available path
3131 * $validator->setAvailablePath(['/path/to/?/*fileMask.xml']);
3232 * $validator->isValid('/path/to/MyDir/Some-fileMask.xml'); //return true
33- * $validator->setAvailablePath(['/path/to/{@ *}*.xml']);
33+ * $validator->setAvailablePath(['/path/to/{@ *}*.xml']);
3434 * $validator->isValid('/path/to/my.xml'); //return true, because directory structure can't exist
3535 * </code>
3636 */
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ public function getMaxUploadSize()
3636 /**
3737 * Get valid path masks to files for importing/exporting
3838 *
39- * @deprecated since 26.1 Use \ Maho\Io::allowedPath() for path validation instead
39+ * @deprecated since 26.1 Use Maho\Io::allowedPath() for path validation instead
4040 * @return array
4141 */
4242 public function getLocalValidPaths ()
Original file line number Diff line number Diff line change 1313namespace Maho \Io ;
1414
1515/**
16- * @deprecated since 26.1 Extend \ Maho\Io directly instead
16+ * @deprecated since 26.1 Extend Maho\Io directly instead
1717 */
1818abstract class AbstractIo extends \Maho \Io implements IoInterface {}
You can’t perform that action at this time.
0 commit comments