Minor corrections

This commit is contained in:
Netkas 2023-10-13 01:32:21 -04:00
parent e3ac3cf7a3
commit d434345c59
No known key found for this signature in database
GPG key ID: 5DAF58535614062B
3 changed files with 7 additions and 2 deletions

View file

@ -65,7 +65,7 @@ RUN chmod +x /usr/local/bin/install-php-extensions && sync && \
install-php-extensions zip xsl install-php-extensions zip xsl
# Install ncc # Install ncc
RUN php INSTALL --auto; cd ../; rm -rf ncc RUN php INSTALL --auto
# Finalize image # Finalize image
RUN mkdir /app RUN mkdir /app

View file

@ -65,7 +65,7 @@ RUN chmod +x /usr/local/bin/install-php-extensions && sync && \
install-php-extensions zip xsl install-php-extensions zip xsl
# Install ncc # Install ncc
RUN php INSTALL --auto; cd ../; rm -rf ncc RUN php INSTALL --auto
# Finalize image # Finalize image
RUN mkdir /app RUN mkdir /app

View file

@ -382,6 +382,11 @@
foreach($include_paths as $include_path) foreach($include_paths as $include_path)
{ {
if($include_path === '.')
{
continue;
}
try try
{ {
if($filesystem->exists($include_path . DIRECTORY_SEPARATOR . 'ncc')) if($filesystem->exists($include_path . DIRECTORY_SEPARATOR . 'ncc'))