- web/config.php
- php app/check.php
- PHP 5.3.3
- JSON enabled
#!/bin/bash | |
composer global require fabpot/php-cs-fixer squizlabs/php_codesniffer |
#============================================================================= | |
# VIRTUALIZATION SOFTWARE | |
#============================================================================= | |
#----------------------------------------------------------------------------- | |
# Oracle VM VirtualBox | |
#----------------------------------------------------------------------------- | |
#----------------------------------------------------------------------------- | |
# Vagrant |
{ | |
"require-dev": { | |
} | |
} |
#!/bin/bash | |
################################################################################ | |
# Drupal | |
################################################################################ | |
# Download | |
rm -rf /vagrant/drupal/ /vagrant/default /vagrant/html | |
cd /vagrant | |
drush dl -q drupal --drupal-project-rename=drupal |
--- | |
vagrantfile-local: | |
vm: | |
box: puphpet/ubuntu1404-x32 | |
box_url: puphpet/ubuntu1404-x32 | |
hostname: '' | |
memory: '512' | |
cpus: '1' | |
chosen_provider: virtualbox | |
network: |
<?php | |
$pages = [ | |
[ | |
'title' => 'Promociones', | |
'path' => 'promociones', | |
'body' => 'Esta es la página de promociones', | |
], | |
[ | |
'title' => 'Downloading', |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="content-type" content="text/html;charset=utf-8" /> | |
<title></title> | |
</head> | |
<body> |
(function() { | |
})(); |