Merge remote-tracking branch 'origin/master'
continuous-integration/drone/push Build is passing Details

master
dorian.hodin 2 years ago
commit 7b32908678

@ -5,3 +5,6 @@ COPY ./script /var/www/html
WORKDIR /var/www/html/Config
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN composer update && composer install
RUN a2enmod rewrite
RUN a2enmod actions
RUN service apache2 restart

@ -0,0 +1,4 @@
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [QSA,L]

@ -14,7 +14,7 @@ use Psr\Http\Message\ResponseInterface as Response;
use Psr\Http\Message\ServerRequestInterface as Request;
use Slim\Factory\AppFactory;
require 'Config/vendor/autoload.php';
require './Config/vendor/autoload.php';
/**
* Instantiate App

Loading…
Cancel
Save