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,10 +1,10 @@
|
|||||||
<?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'] = '';
|
||||||
$config['join_prefix'] = '';
|
$config['join_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">',
|
||||||
@@ -9,7 +9,7 @@ $_doctypes = array(
|
|||||||
'html4-strict' => '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">',
|
'html4-strict' => '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">',
|
||||||
'html4-trans' => '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">',
|
'html4-trans' => '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">',
|
||||||
'html4-frame' => '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">'
|
'html4-frame' => '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">'
|
||||||
);
|
);
|
||||||
|
|
||||||
/* End of file doctypes.php */
|
/* End of file doctypes.php */
|
||||||
/* Location: ./application/config/doctypes.php */
|
/* Location: ./application/config/doctypes.php */
|
||||||
@@ -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.
|
||||||
@@ -37,10 +37,10 @@ $config['auth/forgot_password'] = array(
|
|||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Rules for the settings page.
|
* Rules for the settings page.
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
$config['auth/settings'] = array(
|
$config['auth/settings'] = array(
|
||||||
array(
|
array(
|
||||||
'field' => 'firstname',
|
'field' => 'firstname',
|
||||||
@@ -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
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
|
|
|
|
||||||
| http://codeigniter.com/user_guide/general/hooks.html
|
| http://codeigniter.com/user_guide/general/hooks.html
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$hook['post_controller_constructor'] = array(
|
$hook['post_controller_constructor'] = array(
|
||||||
'class' => '',
|
'class' => '',
|
||||||
|
|||||||
@@ -16,8 +16,8 @@
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
$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',
|
||||||
@@ -100,7 +101,7 @@ $mimes = array( 'hqx' => 'application/mac-binhex40',
|
|||||||
'eml' => 'message/rfc822',
|
'eml' => 'message/rfc822',
|
||||||
'json' => array('application/json', 'text/json'),
|
'json' => array('application/json', 'text/json'),
|
||||||
'obj' => 'text/plain',
|
'obj' => 'text/plain',
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
/* End of file mimes.php */
|
/* End of file mimes.php */
|
||||||
|
|||||||
@@ -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,9 +58,9 @@ $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'),
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
/* End of file smileys.php */
|
/* End of file smileys.php */
|
||||||
/* Location: ./application/config/smileys.php */
|
/* Location: ./application/config/smileys.php */
|
||||||
@@ -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
|
||||||
@@ -42,8 +42,7 @@ $platforms = array (
|
|||||||
'openbsd' => 'OpenBSD',
|
'openbsd' => 'OpenBSD',
|
||||||
'gnu' => 'GNU/Linux',
|
'gnu' => 'GNU/Linux',
|
||||||
'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.
|
||||||
@@ -70,7 +69,7 @@ $browsers = array(
|
|||||||
'hotjava' => 'HotJava',
|
'hotjava' => 'HotJava',
|
||||||
'amaya' => 'Amaya',
|
'amaya' => 'Amaya',
|
||||||
'IBrowse' => 'IBrowse'
|
'IBrowse' => 'IBrowse'
|
||||||
);
|
);
|
||||||
|
|
||||||
$mobiles = array(
|
$mobiles = array(
|
||||||
// legacy array, old values commented out
|
// legacy array, old values commented out
|
||||||
@@ -160,7 +159,7 @@ $mobiles = array(
|
|||||||
'up.browser' => "Generic Mobile",
|
'up.browser' => "Generic Mobile",
|
||||||
'smartphone' => "Generic Mobile",
|
'smartphone' => "Generic Mobile",
|
||||||
'cellphone' => "Generic Mobile"
|
'cellphone' => "Generic Mobile"
|
||||||
);
|
);
|
||||||
|
|
||||||
// There are hundreds of bots but these are the most common.
|
// There are hundreds of bots but these are the most common.
|
||||||
$robots = array(
|
$robots = array(
|
||||||
@@ -172,7 +171,7 @@ $robots = array(
|
|||||||
'fastcrawler' => 'FastCrawler',
|
'fastcrawler' => 'FastCrawler',
|
||||||
'infoseek' => 'InfoSeek Robot 1.0',
|
'infoseek' => 'InfoSeek Robot 1.0',
|
||||||
'lycos' => 'Lycos'
|
'lycos' => 'Lycos'
|
||||||
);
|
);
|
||||||
|
|
||||||
/* End of file user_agents.php */
|
/* End of file user_agents.php */
|
||||||
/* Location: ./application/config/user_agents.php */
|
/* Location: ./application/config/user_agents.php */
|
||||||
Reference in New Issue
Block a user