We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd90f7e commit 30c6ee6Copy full SHA for 30c6ee6
src/Resource/ExtendsPlugin.php
@@ -93,7 +93,11 @@ public function getContent(Source $source)
93
*/
94
public function getBasename(Source $source)
95
{
96
- return str_replace(':', '.', basename($source->getResourceName()));
+ $search = array(':');
97
+ if (\Smarty\Smarty::$_IS_WINDOWS) {
98
+ $search = array(':', '|');
99
+ }
100
+ return str_replace($search, '.', basename($source->getResourceName()));
101
}
102
103
/*
0 commit comments