This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Running this script will help setup and obtain resources for your new WordPress website." | |
read -p "Do you wish to proceed with setup? (Y/N)" CONF_PROCEED | |
if [ "$CONF_PROCEED" == "Y" ] || [ "$CONF_PROCEED" == "y" ]; then | |
read -p "Which directory would you like us to install WordPress into?: " INSTALL_DIRECTORY | |
mkdir -p "$INSTALL_DIRECTORY" | |
echo "Copying Bedrock in to: $INSTALL_DIRECTORY" | |
composer create-project roots/bedrock "$INSTALL_DIRECTORY" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name | Bank Holiday | Date | |
---|---|---|---|
New Year's Day | 1 | 2009-01-01 | |
Robert Burns Night (Burns Night) | 0 | 2009-01-25 | |
Holocaust Memorial Day | 0 | 2009-01-27 | |
Valentines Day | 0 | 2009-02-14 | |
Shrove Tuesday (Pancake Day) | 0 | 2009-02-24 | |
Ash Wednesday | 0 | 2009-02-25 | |
St David's Day | 0 | 2009-03-01 | |
St Patricks Day | 0 | 2009-03-17 | |
Mothering Sunday (Mothers Day) | 0 | 2009-03-22 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
date_default_timezone_set('Europe/London'); // Set this to your local timezone - http://www.php.net/manual/en/timezones.php | |
/** | |
* The root directory where the repos live. | |
* | |
* @var string | |
*/ | |
$root_dir = '/your/root/dir/'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Array | |
( | |
[id] => 1 | |
[name] => Super Admin | |
[permissions] => Array | |
( | |
[_ids] => Array | |
( | |
[0] => 7 | |
[1] => 6 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Log\Engine; | |
use Cake\Log\Engine\BaseLog; | |
use Cake\ORM\TableRegistry; | |
class DataLog extends BaseLog | |
{ | |
public function __construct(array $config = []) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$baseDir = dirname(dirname(__FILE__)); | |
return [ | |
'plugins' => [ | |
'Bake' => $baseDir . '/vendor/cakephp/bake/', | |
'DebugKit' => $baseDir . '/vendor/cakephp/debug_kit/', | |
'Migrations' => $baseDir . '/vendor/cakephp/migrations/' | |
] | |
]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* LINE PADDING */ | |
.CodeMirror pre{ | |
padding: 3px 0; | |
line-height: 24px; | |
} | |
.CodeMirror-linenumber{ | |
padding: 3px 10px 3px 0; | |
line-height: 24px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Array | |
( | |
[0] => Cake\ORM\Association\BelongsTo Object | |
( | |
[_name:protected] => UserLevels | |
[_className:protected] => | |
[_foreignKey:protected] => | |
[_conditions:protected] => Array | |
( | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0; padding: 0;"> | |
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0; padding: 0;"> | |
<td class="content-block" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top"> | |
<h1 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; box-sizing: border-box; font-size: 32px; color: #fff; line-height: 1.2; font-weight: 500; margin: 40px 0 0; padding: 0;">$33.98 Paid</h1> | |
</td> | |
</tr> | |
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0; padding: 0;"> | |
<td class="content-block" style="font-family: 'Helvetica N |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<rss version="2.0" | |
xmlns:content="http://purl.org/rss/1.0/modules/content/" | |
xmlns:dsq="http://www.disqus.com/" | |
xmlns:dc="http://purl.org/dc/elements/1.1/" | |
xmlns:wp="http://wordpress.org/export/1.0/" | |
> | |
<channel> | |
<?php | |
error_reporting(0); |
NewerOlder