mirror of
https://github.com/opdavies/gmail-filter-builder.git
synced 2025-02-02 08:57:31 +00:00
Fix directory path, remove double slash
This commit is contained in:
parent
d8b10d8f49
commit
c4d53e16fb
|
@ -38,6 +38,6 @@ class Partials
|
|||
*/
|
||||
protected function getFilePattern(string $directoryName)
|
||||
{
|
||||
return __DIR__ . DIRECTORY_SEPARATOR . $directoryName . DIRECTORY_SEPARATOR . '/*.php';
|
||||
return getcwd() . DIRECTORY_SEPARATOR . $directoryName . DIRECTORY_SEPARATOR . '*.php';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue