From d5a21f059695908085d804a7f185329ac4e21cc8 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 28 Oct 2020 21:22:28 +0100 Subject: [PATCH] cleanup unused files --- 000-default.conf | 32 ------------------------- resizeImage.blade.php | 56 ------------------------------------------- web/Dockerfile | 4 ---- 3 files changed, 92 deletions(-) delete mode 100644 000-default.conf delete mode 100644 resizeImage.blade.php delete mode 100644 web/Dockerfile diff --git a/000-default.conf b/000-default.conf deleted file mode 100644 index ec39da6..0000000 --- a/000-default.conf +++ /dev/null @@ -1,32 +0,0 @@ - - # The ServerName directive sets the request scheme, hostname and port that - # the server uses to identify itself. This is used when creating - # redirection URLs. In the context of virtual hosts, the ServerName - # specifies what hostname must appear in the request's Host: header to - # match this virtual host. For the default virtual host (this file) this - # value is not decisive as it is used as a last resort host regardless. - # However, you must set it for any further virtual host explicitly. - #ServerName www.example.com - - ServerAdmin webmaster@localhost - DocumentRoot /var/www/public - - - # Available loglevels: trace8, ..., trace1, debug, info, notice, warn, - # error, crit, alert, emerg. - # It is also possible to configure the loglevel for particular - # modules, e.g. - #LogLevel info ssl:warn - - ErrorLog ${APACHE_LOG_DIR}/error.log - CustomLog ${APACHE_LOG_DIR}/access.log combined - - # For most configuration files from conf-available/, which are - # enabled or disabled at a global level, it is possible to - # include a line for only one particular virtual host. For example the - # following line enables the CGI configuration for this host only - # after it has been globally disabled with "a2disconf". - #Include conf-available/serve-cgi-bin.conf - - -# vim: syntax=apache ts=4 sw=4 sts=4 sr noet diff --git a/resizeImage.blade.php b/resizeImage.blade.php deleted file mode 100644 index aa44a7f..0000000 --- a/resizeImage.blade.php +++ /dev/null @@ -1,56 +0,0 @@ -@extends('layouts.app') - - -@section('content') -
-

Resize Image Uploading Demo

-@if (count($errors) > 0) -
- Whoops! There were some problems with your input.

-
    - @foreach ($errors->all() as $error) -
  • {{ $error }}
  • - @endforeach -
-
-@endif - - -@if ($message = Session::get('success')) -
- - {{ $message }} -
-
-
- Original Image: -
- -
-
- Thumbnail Image: -
- -
-
-@endif - - -{!! Form::open(array('route' => 'resizeImagePost','enctype' => 'multipart/form-data')) !!} -
-
-
- {!! Form::text('title', null,array('class' => 'form-control','placeholder'=>'Add Title')) !!} -
-
-
- {!! Form::file('image', array('class' => 'image')) !!} -
-
-
- -
-
-{!! Form::close() !!} -
-@endsection diff --git a/web/Dockerfile b/web/Dockerfile deleted file mode 100644 index f8d6de5..0000000 --- a/web/Dockerfile +++ /dev/null @@ -1,4 +0,0 @@ -FROM php:7.4-apache - -RUN a2enmod rewrite -RUN docker-php-ext-install pdo_mysql