Skip to content

Instantly share code, notes, and snippets.

@smaction
smaction / Dockerfile
Created June 8, 2018 19:32
Docker Files for Help
FROM php:apache
MAINTAINER Scott Miller
COPY apache2/apache2.conf /etc/apache2
COPY custom/php.ini /usr/local/etc/php
RUN apt-get update \
&& apt-get install -y libzip-dev libpng-dev \
&& rm -rf /var/lib/apt/lists/* \
&& docker-php-ext-configure zip --with-libzip \
&& docker-php-ext-install pdo pdo_mysql mysqli zip gd
RUN a2enmod rewrite
@smaction
smaction / TurnoversController.php
Created May 10, 2018 21:37
Turnover Controller Help
<?php
/**
*
* @author Garrett Haptonstall <ghaptonstall@gmail.com>
* @date last modified by Derek Kier <derek.kier@gmail.com> on 2013-07-16
* @brief modified the login function to use the clientbackend_dev database
* @brief Advanced Site Pros 1.0
*
*/