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
// ------------------------------------------------------------------------ | |
// SET NAMESPACE TO AVOID CONFLICTS AND HOLD CONFIG VALUES | |
// ------------------------------------------------------------------------ | |
var bonfire = bonfire || {}; | |
bonfire = { | |
config: { | |
site_url: '<?php echo $site_url ?>', | |
base_url: '<?php echo $base_url ?>', |
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 if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
/** | |
* CodeIgniter | |
* | |
* An open source application development framework for PHP 5.1.6 or newer | |
* | |
* @package CodeIgniter | |
* @author ExpressionEngine Dev Team | |
* @copyright Copyright © 2008 - 2011, EllisLab, Inc. | |
* @license http://codeigniter.com/user_guide/license.html |
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
[user] | |
name = | |
email = [...] | |
[color] | |
ui = auto | |
[color "branch"] | |
current = blue reverse | |
local = blue | |
remote = green | |
[color "diff"] |
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
#~/.local/share/applications/mimeapps.list | |
[Added Associations] | |
#... | |
x-scheme-handler/subl=subl-urlhandler.desktop |
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 if (!defined('BASEPATH')) exit('No direct script access allowed'); | |
/** | |
* Bonfire | |
* | |
* An open source project to allow developers get a jumpstart their development of CodeIgniter applications | |
* | |
* @package Bonfire | |
* @author Bonfire Dev Team | |
* @copyright Copyright (c) 2011 - 2012, Bonfire Dev Team | |
* @license http://guides.cibonfire.com/license.html |
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
# ---------------------------------------------------------------------- | |
# Webfont access | |
# ---------------------------------------------------------------------- | |
# Allow access from all domains for webfonts. | |
# Alternatively you could only whitelist your | |
# subdomains like "subdomain.example.com". | |
<IfModule mod_headers.c> | |
<FilesMatch "\.(ttf|ttc|otf|eot|woff|font.css)$"> |
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
/** | |
* Function : dump() | |
* Arguments: The data - array,hash(associative array),object | |
* The level - OPTIONAL | |
* Returns : The textual representation of the array. | |
* This function was inspired by the print_r function of PHP. | |
* This will accept some data as the argument and return a | |
* text that will be a more readable version of the | |
* array/hash/object that is given. | |
*/ |
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 | |
/** | |
* The Lex Autoloader (this is case-sensative) | |
*/ | |
class Lex_Autoloader | |
{ | |
protected static $load_path = './'; |
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 if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
class Ajax_uploader extends CI_Controller { | |
// ------------------------------------------------------------------------ | |
/** | |
* Array of allowed file extensions to upload. | |
* | |
* @var 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
/** | |
* Stringify attributes for use in html tags. | |
* | |
* Helper function used to convert an array or object of | |
* attributes to a string | |
* | |
* @param mixed | |
* @return string | |
*/ | |
function _stringify_attributes($attributes, $js = FALSE) |