Format config files
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
<?php defined('BASEPATH') || exit("No direct script access allowed");
|
<?php defined('BASEPATH') || exit('No direct script access allowed');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Default group, use name
|
* Default group, use name
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
<?php defined('BASEPATH') || exit('No direct script access allowed');
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
<?php defined('BASEPATH') || exit('No direct script access allowed');
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
@@ -26,7 +26,6 @@ define('DIR_WRITE_MODE', 0777);
|
|||||||
| These modes are used when working with fopen()/popen()
|
| These modes are used when working with fopen()/popen()
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
define('FOPEN_READ', 'rb');
|
define('FOPEN_READ', 'rb');
|
||||||
define('FOPEN_READ_WRITE', 'r+b');
|
define('FOPEN_READ_WRITE', 'r+b');
|
||||||
define('FOPEN_WRITE_CREATE_DESTRUCTIVE', 'wb'); // truncates existing file data, use with care
|
define('FOPEN_WRITE_CREATE_DESTRUCTIVE', 'wb'); // truncates existing file data, use with care
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
<?php defined('BASEPATH') || exit('No direct script access allowed');
|
||||||
/*
|
/*
|
||||||
| -------------------------------------------------------------------
|
| -------------------------------------------------------------------
|
||||||
| DATABASE CONNECTIVITY SETTINGS
|
| DATABASE CONNECTIVITY SETTINGS
|
||||||
@@ -39,7 +39,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
$active_group = 'default';
|
$active_group = 'default';
|
||||||
$active_record = TRUE;
|
$active_record = true;
|
||||||
|
|
||||||
$db['default']['hostname'] = 'localhost';
|
$db['default']['hostname'] = 'localhost';
|
||||||
$db['default']['username'] = '';
|
$db['default']['username'] = '';
|
||||||
@@ -47,15 +47,15 @@ $db['default']['password'] = '';
|
|||||||
$db['default']['database'] = '';
|
$db['default']['database'] = '';
|
||||||
$db['default']['dbdriver'] = 'mysql';
|
$db['default']['dbdriver'] = 'mysql';
|
||||||
$db['default']['dbprefix'] = '';
|
$db['default']['dbprefix'] = '';
|
||||||
$db['default']['pconnect'] = TRUE;
|
$db['default']['pconnect'] = true;
|
||||||
$db['default']['db_debug'] = TRUE;
|
$db['default']['db_debug'] = true;
|
||||||
$db['default']['cache_on'] = FALSE;
|
$db['default']['cache_on'] = false;
|
||||||
$db['default']['cachedir'] = '';
|
$db['default']['cachedir'] = '';
|
||||||
$db['default']['char_set'] = 'utf8';
|
$db['default']['char_set'] = 'utf8';
|
||||||
$db['default']['dbcollat'] = 'utf8_general_ci';
|
$db['default']['dbcollat'] = 'utf8_general_ci';
|
||||||
$db['default']['swap_pre'] = '';
|
$db['default']['swap_pre'] = '';
|
||||||
$db['default']['autoinit'] = TRUE;
|
$db['default']['autoinit'] = true;
|
||||||
$db['default']['stricton'] = FALSE;
|
$db['default']['stricton'] = false;
|
||||||
|
|
||||||
|
|
||||||
/* End of file database.php */
|
/* End of file database.php */
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
<?php defined('BASEPATH') || exit('No direct script access allowed');
|
||||||
|
/*
|
||||||
/**
|
| -------------------------------------------------------------------
|
||||||
* Data Mapper Configuration
|
| DATAMAPPER CONFIGURATION
|
||||||
*
|
| -------------------------------------------------------------------
|
||||||
* Global configuration settings that apply to all DataMapped models.
|
| Global configuration settings that apply to all DataMapped models.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$config['prefix'] = '';
|
$config['prefix'] = '';
|
||||||
@@ -12,11 +12,11 @@ $config['error_prefix'] = '<p>';
|
|||||||
$config['error_suffix'] = '</p>';
|
$config['error_suffix'] = '</p>';
|
||||||
$config['created_field'] = 'created';
|
$config['created_field'] = 'created';
|
||||||
$config['updated_field'] = 'updated';
|
$config['updated_field'] = 'updated';
|
||||||
$config['local_time'] = FALSE;
|
$config['local_time'] = false;
|
||||||
$config['unix_timestamp'] = FALSE;
|
$config['unix_timestamp'] = false;
|
||||||
$config['auto_transaction'] = FALSE;
|
$config['auto_transaction'] = false;
|
||||||
$config['auto_populate_has_many'] = FALSE;
|
$config['auto_populate_has_many'] = false;
|
||||||
$config['auto_populate_has_one'] = FALSE;
|
$config['auto_populate_has_one'] = false;
|
||||||
|
|
||||||
/* End of file datamapper.php */
|
/* End of file datamapper.php */
|
||||||
/* Location: ./application/config/datamapper.php */
|
/* Location: ./application/config/datamapper.php */
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
<?php defined('BASEPATH') || exit('No direct script access allowed');
|
||||||
|
|
||||||
$_doctypes = array(
|
$_doctypes = array(
|
||||||
'xhtml11' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">',
|
'xhtml11' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">',
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
<?php defined('BASEPATH') || exit('No direct script access allowed');
|
||||||
/*
|
/*
|
||||||
| -------------------------------------------------------------------
|
| -------------------------------------------------------------------
|
||||||
| Foreign Characters
|
| Foreign Characters
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<?php defined('BASEPATH') || exit("No direct script access allowed");
|
<?php defined('BASEPATH') || exit('No direct script access allowed');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Rules for login page.
|
* Rules for login page.
|
||||||
@@ -259,4 +259,3 @@ $config['trials/create'] = array(
|
|||||||
|
|
||||||
/* End of file form_validation.php */
|
/* End of file form_validation.php */
|
||||||
/* Location: ./application/config/form_validation.php */
|
/* Location: ./application/config/form_validation.php */
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
<?php defined('BASEPATH') || exit('No direct script access allowed');
|
||||||
/*
|
/*
|
||||||
| -------------------------------------------------------------------------
|
| -------------------------------------------------------------------------
|
||||||
| Hooks
|
| Hooks
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
$config['supported_languages'] = array(
|
$config['supported_languages'] = array(
|
||||||
'en' => array('name' => 'English', 'locale' => 'en_US'),
|
'en' => array('name' => 'English', 'locale' => 'en_US'),
|
||||||
'de'=> array('name' => 'Deutsch', 'locale' => 'de_DE')
|
'de' => array('name' => 'Deutsch', 'locale' => 'de_DE'),
|
||||||
);
|
);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -30,3 +30,6 @@ $config['supported_languages'] = array(
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
$config['default_language'] = 'en';
|
$config['default_language'] = 'en';
|
||||||
|
|
||||||
|
/* End of file autoload.php */
|
||||||
|
/* Location: ./application/config/language.php */
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
<?php defined('BASEPATH') || exit('No direct script access allowed');
|
||||||
/*
|
/*
|
||||||
| -------------------------------------------------------------------
|
| -------------------------------------------------------------------
|
||||||
| MIME TYPES
|
| MIME TYPES
|
||||||
@@ -8,7 +8,8 @@
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$mimes = array( 'hqx' => 'application/mac-binhex40',
|
$mimes = array(
|
||||||
|
'hqx' => 'application/mac-binhex40',
|
||||||
'cpt' => 'application/mac-compactpro',
|
'cpt' => 'application/mac-compactpro',
|
||||||
'csv' => array('text/x-comma-separated-values', 'text/comma-separated-values', 'application/octet-stream', 'application/vnd.ms-excel', 'text/x-csv', 'text/csv', 'application/csv', 'application/excel', 'application/vnd.msexcel'),
|
'csv' => array('text/x-comma-separated-values', 'text/comma-separated-values', 'application/octet-stream', 'application/vnd.ms-excel', 'text/x-csv', 'text/csv', 'application/csv', 'application/excel', 'application/vnd.msexcel'),
|
||||||
'bin' => 'application/macbinary',
|
'bin' => 'application/macbinary',
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
<?php defined('BASEPATH') || exit('No direct script access allowed');
|
||||||
/*
|
/*
|
||||||
| -------------------------------------------------------------------------
|
| -------------------------------------------------------------------------
|
||||||
| Profiler Sections
|
| Profiler Sections
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
<?php defined('BASEPATH') || exit('No direct script access allowed');
|
||||||
/*
|
/*
|
||||||
| -------------------------------------------------------------------------
|
| -------------------------------------------------------------------------
|
||||||
| URI ROUTING
|
| URI ROUTING
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
<?php defined('BASEPATH') || exit('No direct script access allowed');
|
||||||
/*
|
/*
|
||||||
| -------------------------------------------------------------------
|
| -------------------------------------------------------------------
|
||||||
| SMILEYS
|
| SMILEYS
|
||||||
@@ -58,7 +58,7 @@ $smileys = array(
|
|||||||
':vampire:' => array('vampire.gif', '19', '19', 'vampire'),
|
':vampire:' => array('vampire.gif', '19', '19', 'vampire'),
|
||||||
':snake:' => array('snake.gif', '19', '19', 'snake'),
|
':snake:' => array('snake.gif', '19', '19', 'snake'),
|
||||||
':exclaim:' => array('exclaim.gif', '19', '19', 'excaim'),
|
':exclaim:' => array('exclaim.gif', '19', '19', 'excaim'),
|
||||||
':question:' => array('question.gif', '19', '19', 'question') // no comma after last item
|
':question:' => array('question.gif', '19', '19', 'question'),
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
<?php defined('BASEPATH') || exit('No direct script access allowed');
|
||||||
/*
|
/*
|
||||||
| -------------------------------------------------------------------
|
| -------------------------------------------------------------------
|
||||||
| USER AGENT TYPES
|
| USER AGENT TYPES
|
||||||
@@ -44,7 +44,6 @@ $platforms = array (
|
|||||||
'unix' => 'Unknown Unix OS'
|
'unix' => 'Unknown Unix OS'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
// The order of this array should NOT be changed. Many browsers return
|
// The order of this array should NOT be changed. Many browsers return
|
||||||
// multiple browser types so we want to identify the sub-type first.
|
// multiple browser types so we want to identify the sub-type first.
|
||||||
$browsers = array(
|
$browsers = array(
|
||||||
|
|||||||
Reference in New Issue
Block a user