This file contains 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 if (!defined('BASEPATH')) exit('No direct script access allowed'); | |
/** | |
* You can't load the Model class using the autoload file, so we have to | |
* include it here for the ActiveRecord class to inherit from | |
*/ | |
global $application_folder; | |
require (BASEPATH . '/libraries/Model.php'); |
This file contains 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
/*! | |
* _debug.js (c) Kris Noble 2015 - http://simianstudios.com | |
* @license MIT | |
*/ | |
/* | |
* Simple helper for debugging via console with | |
* customizable colours for different categories of info. | |
* | |
* Usage: | |
* 1. Define categoryColors e.g. |
This file contains 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
body {font-family:"Open Sans", "Helvetica Neue", Arial, sans-serif;} | |
h1, h2, h3, h4, h5, h6 {border-bottom-color:#ddd;} | |
p {line-height:1.3em; margin-bottom:1.3em;} | |
#mw-content-text {font-size:1.1em; line-height:1.3em;} | |
li:last-of-type, dd:last-of-type {margin-bottom:1.3em;} | |
#mw-content-text h2 {padding-top:1.7em;} |
This file contains 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/'; |