mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-24 17:15:36 +08:00
Fix isRelativePath() bug
This commit is contained in:
@@ -163,6 +163,6 @@ class DataProvider
|
|||||||
*/
|
*/
|
||||||
public static function isRelativePath($path)
|
public static function isRelativePath($path)
|
||||||
{
|
{
|
||||||
return strlen($path) > 0 && $path[0] === '/';
|
return strlen($path) > 0 && $path[0] !== '/';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user