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