1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-09 10:16:36 +02:00

[ticket/15253] Use storage helper methods instead of filesystem methods

PHPBB3-15253
This commit is contained in:
Rubén Calvo
2017-06-26 15:49:31 +02:00
parent 21c9b0eeae
commit ecb79539f4
62 changed files with 109 additions and 598 deletions

View File

@@ -89,6 +89,8 @@ interface filesystem_interface
/**
* Eliminates useless . and .. components from specified path.
*
* @deprecated 3.3.0-a1 (To be removed: 4.0.0)
*
* @param string $path Path to clean
*
* @return string Cleaned path
@@ -132,6 +134,8 @@ interface filesystem_interface
/**
* Checks if a path is absolute or not
*
* @deprecated 3.3.0-a1 (To be removed: 4.0.0)
*
* @param string $path Path to check
*
* @return bool true if the path is absolute, false otherwise
@@ -161,6 +165,8 @@ interface filesystem_interface
/**
* Given an existing path, convert it to a path relative to a given starting path
*
* @deprecated 3.3.0-a1 (To be removed: 4.0.0)
*
* @param string $end_path Absolute path of target
* @param string $start_path Absolute path where traversal begins
*
@@ -228,6 +234,8 @@ interface filesystem_interface
/**
* A wrapper for PHP's realpath
*
* @deprecated 3.3.0-a1 (To be removed: 4.0.0)
*
* Try to resolve realpath when PHP's realpath is not available, or
* known to be buggy.
*