diff --git a/suda/src/application/template/CompilableTemplate.php b/suda/src/application/template/CompilableTemplate.php index 43f66346..f4997147 100644 --- a/suda/src/application/template/CompilableTemplate.php +++ b/suda/src/application/template/CompilableTemplate.php @@ -257,7 +257,7 @@ protected function getStaticPrefix() } else { $prefix = '/assets'; } - return $prefix . '/' . $this->getStaticName(); + return '/'.ltrim($prefix, '/') . '/' . $this->getStaticName(); } protected function prepareStaticSource()