From d434345c59303592be9346f32f2185d28ad712cb Mon Sep 17 00:00:00 2001 From: Netkas Date: Fri, 13 Oct 2023 01:32:21 -0400 Subject: [PATCH] Minor corrections --- Dockerfile | 2 +- Dockerfile.debian | 2 +- src/ncc/Utilities/Functions.php | 5 +++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index aa7aa4a..cfb3583 100644 --- a/Dockerfile +++ b/Dockerfile @@ -65,7 +65,7 @@ RUN chmod +x /usr/local/bin/install-php-extensions && sync && \ install-php-extensions zip xsl # Install ncc -RUN php INSTALL --auto; cd ../; rm -rf ncc +RUN php INSTALL --auto # Finalize image RUN mkdir /app diff --git a/Dockerfile.debian b/Dockerfile.debian index a05133c..a92b131 100644 --- a/Dockerfile.debian +++ b/Dockerfile.debian @@ -65,7 +65,7 @@ RUN chmod +x /usr/local/bin/install-php-extensions && sync && \ install-php-extensions zip xsl # Install ncc -RUN php INSTALL --auto; cd ../; rm -rf ncc +RUN php INSTALL --auto # Finalize image RUN mkdir /app diff --git a/src/ncc/Utilities/Functions.php b/src/ncc/Utilities/Functions.php index 63df275..fdad63e 100644 --- a/src/ncc/Utilities/Functions.php +++ b/src/ncc/Utilities/Functions.php @@ -382,6 +382,11 @@ foreach($include_paths as $include_path) { + if($include_path === '.') + { + continue; + } + try { if($filesystem->exists($include_path . DIRECTORY_SEPARATOR . 'ncc'))