mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-03-18 05:04:51 +08:00
Fix isRelativePath() bug
This commit is contained in:
parent
127466e546
commit
9bfa3ede20
@ -163,6 +163,6 @@ class DataProvider
|
||||
*/
|
||||
public static function isRelativePath($path)
|
||||
{
|
||||
return strlen($path) > 0 && $path[0] === '/';
|
||||
return strlen($path) > 0 && $path[0] !== '/';
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user