Hotfix for App->registerStylesheet
- Wrong condition for strpos() - Follow-up to #6953
This commit is contained in:
parent
e5cc35cb45
commit
3de1fc3097
1 changed files with 2 additions and 2 deletions
|
@ -182,7 +182,7 @@ class App
|
|||
*/
|
||||
public function registerStylesheet($path)
|
||||
{
|
||||
if (mb_strpos($path, $this->getBasePath() . DIRECTORY_SEPARATOR) == 0) {
|
||||
if (mb_strpos($path, $this->getBasePath() . DIRECTORY_SEPARATOR) === 0) {
|
||||
$path = mb_substr($path, mb_strlen($this->getBasePath() . DIRECTORY_SEPARATOR));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue