diff --git a/app/system/libraries/Assets.php b/app/system/libraries/Assets.php index 15316b94da..2eb9ea2b86 100644 --- a/app/system/libraries/Assets.php +++ b/app/system/libraries/Assets.php @@ -249,6 +249,10 @@ protected function getAssetPath($name) if (File::isPathSymbol($name)) return File::symbolizePath($name); + // Resolve temporarily open_basedir issue https://github.com/tastyigniter/TastyIgniter/pull/1061 + if (File::isFile('.'.$name)) + return '.'.$name; + if (File::isFile($name)) return $name;