diff --git a/Dockerfile b/Dockerfile index c5e1386..a977949 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ RUN apt-get update && apt-get install -y \ RUN a2enmod rewrite # Copy application source -COPY . /var/www/html/ +COPY src/ /var/www/html/ # Set permissions for upload directory RUN mkdir -p /var/www/html/uploads/images && \ diff --git a/add_article.php b/src/add_article.php old mode 100755 new mode 100644 similarity index 95% rename from add_article.php rename to src/add_article.php index 768e015..0c3ca28 --- a/add_article.php +++ b/src/add_article.php @@ -209,6 +209,10 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") { $conn->close(); ?> + + + +