PHP Classes

File: install.sh

Recommend this page to a friend!
  Classes of Giovanni Ramos   PDO4You   install.sh   Download  
File: install.sh
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PDO4You
Access SQL databases using the PDO extension
Author: By
Last change: Update of install.sh
Date: 2 months ago
Size: 550 bytes
 

Contents

Class file image Download
#!/bin/sh _COMPOSER=$DIRECTORY"composer.phar" _AUTOLOAD=$DIRECTORY"vendor/autoload.php" if [ ! -z $DIRECTORY ] then if [ ! -f $_COMPOSER ]; then curl -sS https://getcomposer.org/installer | php -- --install-dir=$DIRECTORY fi php $_COMPOSER install --dev --working-dir=$DIRECTORY else if [ ! -f $_COMPOSER ]; then curl -sS https://getcomposer.org/installer | php fi php $_COMPOSER install --dev fi echo "" echo "" if [ -f $_AUTOLOAD ]; then echo "-- The autoloader and all project dependencies have been installed --" echo "" fi