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
|
||||
|
||||
@@ -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()
|
||||
|
|
||||
*/
|
||||
|
||||
define('FOPEN_READ', 'rb');
|
||||
define('FOPEN_READ_WRITE', 'r+b');
|
||||
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
|
||||
@@ -39,7 +39,7 @@
|
||||
*/
|
||||
|
||||
$active_group = 'default';
|
||||
$active_record = TRUE;
|
||||
$active_record = true;
|
||||
|
||||
$db['default']['hostname'] = 'localhost';
|
||||
$db['default']['username'] = '';
|
||||
@@ -47,15 +47,15 @@ $db['default']['password'] = '';
|
||||
$db['default']['database'] = '';
|
||||
$db['default']['dbdriver'] = 'mysql';
|
||||
$db['default']['dbprefix'] = '';
|
||||
$db['default']['pconnect'] = TRUE;
|
||||
$db['default']['db_debug'] = TRUE;
|
||||
$db['default']['cache_on'] = FALSE;
|
||||
$db['default']['pconnect'] = true;
|
||||
$db['default']['db_debug'] = true;
|
||||
$db['default']['cache_on'] = false;
|
||||
$db['default']['cachedir'] = '';
|
||||
$db['default']['char_set'] = 'utf8';
|
||||
$db['default']['dbcollat'] = 'utf8_general_ci';
|
||||
$db['default']['swap_pre'] = '';
|
||||
$db['default']['autoinit'] = TRUE;
|
||||
$db['default']['stricton'] = FALSE;
|
||||
$db['default']['autoinit'] = true;
|
||||
$db['default']['stricton'] = false;
|
||||
|
||||
|
||||
/* End of file database.php */
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/**
|
||||
* Data Mapper Configuration
|
||||
*
|
||||
* Global configuration settings that apply to all DataMapped models.
|
||||
*/
|
||||
<?php defined('BASEPATH') || exit('No direct script access allowed');
|
||||
/*
|
||||
| -------------------------------------------------------------------
|
||||
| DATAMAPPER CONFIGURATION
|
||||
| -------------------------------------------------------------------
|
||||
| Global configuration settings that apply to all DataMapped models.
|
||||
*/
|
||||
|
||||
$config['prefix'] = '';
|
||||
$config['join_prefix'] = '';
|
||||
@@ -12,11 +12,11 @@ $config['error_prefix'] = '<p>';
|
||||
$config['error_suffix'] = '</p>';
|
||||
$config['created_field'] = 'created';
|
||||
$config['updated_field'] = 'updated';
|
||||
$config['local_time'] = FALSE;
|
||||
$config['unix_timestamp'] = FALSE;
|
||||
$config['auto_transaction'] = FALSE;
|
||||
$config['auto_populate_has_many'] = FALSE;
|
||||
$config['auto_populate_has_one'] = FALSE;
|
||||
$config['local_time'] = false;
|
||||
$config['unix_timestamp'] = false;
|
||||
$config['auto_transaction'] = false;
|
||||
$config['auto_populate_has_many'] = false;
|
||||
$config['auto_populate_has_one'] = false;
|
||||
|
||||
/* End of file 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(
|
||||
'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-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">'
|
||||
);
|
||||
);
|
||||
|
||||
/* End of file 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
|
||||
|
||||
@@ -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.
|
||||
@@ -37,10 +37,10 @@ $config['auth/forgot_password'] = array(
|
||||
);
|
||||
|
||||
/**
|
||||
* Rules for the settings page.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
* Rules for the settings page.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
$config['auth/settings'] = array(
|
||||
array(
|
||||
'field' => 'firstname',
|
||||
@@ -259,4 +259,3 @@ $config['trials/create'] = array(
|
||||
|
||||
/* End of file 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
|
||||
@@ -8,7 +8,7 @@
|
||||
|
|
||||
| http://codeigniter.com/user_guide/general/hooks.html
|
||||
|
|
||||
*/
|
||||
*/
|
||||
|
||||
$hook['post_controller_constructor'] = array(
|
||||
'class' => '',
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
|
|
||||
*/
|
||||
$config['supported_languages'] = array(
|
||||
'en'=> array('name' => 'English', 'locale' => 'en_US'),
|
||||
'de'=> array('name' => 'Deutsch', 'locale' => 'de_DE')
|
||||
'en' => array('name' => 'English', 'locale' => 'en_US'),
|
||||
'de' => array('name' => 'Deutsch', 'locale' => 'de_DE'),
|
||||
);
|
||||
|
||||
/*
|
||||
@@ -30,3 +30,6 @@ $config['supported_languages'] = array(
|
||||
|
|
||||
*/
|
||||
$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
|
||||
@@ -8,7 +8,8 @@
|
||||
|
|
||||
*/
|
||||
|
||||
$mimes = array( 'hqx' => 'application/mac-binhex40',
|
||||
$mimes = array(
|
||||
'hqx' => 'application/mac-binhex40',
|
||||
'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'),
|
||||
'bin' => 'application/macbinary',
|
||||
@@ -100,7 +101,7 @@ $mimes = array( 'hqx' => 'application/mac-binhex40',
|
||||
'eml' => 'message/rfc822',
|
||||
'json' => array('application/json', 'text/json'),
|
||||
'obj' => 'text/plain',
|
||||
);
|
||||
);
|
||||
|
||||
|
||||
/* 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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
<?php defined('BASEPATH') || exit('No direct script access allowed');
|
||||
/*
|
||||
| -------------------------------------------------------------------
|
||||
| SMILEYS
|
||||
@@ -58,9 +58,9 @@ $smileys = array(
|
||||
':vampire:' => array('vampire.gif', '19', '19', 'vampire'),
|
||||
':snake:' => array('snake.gif', '19', '19', 'snake'),
|
||||
':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 */
|
||||
/* 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
|
||||
@@ -42,8 +42,7 @@ $platforms = array (
|
||||
'openbsd' => 'OpenBSD',
|
||||
'gnu' => 'GNU/Linux',
|
||||
'unix' => 'Unknown Unix OS'
|
||||
);
|
||||
|
||||
);
|
||||
|
||||
// The order of this array should NOT be changed. Many browsers return
|
||||
// multiple browser types so we want to identify the sub-type first.
|
||||
@@ -70,7 +69,7 @@ $browsers = array(
|
||||
'hotjava' => 'HotJava',
|
||||
'amaya' => 'Amaya',
|
||||
'IBrowse' => 'IBrowse'
|
||||
);
|
||||
);
|
||||
|
||||
$mobiles = array(
|
||||
// legacy array, old values commented out
|
||||
@@ -160,7 +159,7 @@ $mobiles = array(
|
||||
'up.browser' => "Generic Mobile",
|
||||
'smartphone' => "Generic Mobile",
|
||||
'cellphone' => "Generic Mobile"
|
||||
);
|
||||
);
|
||||
|
||||
// There are hundreds of bots but these are the most common.
|
||||
$robots = array(
|
||||
@@ -172,7 +171,7 @@ $robots = array(
|
||||
'fastcrawler' => 'FastCrawler',
|
||||
'infoseek' => 'InfoSeek Robot 1.0',
|
||||
'lycos' => 'Lycos'
|
||||
);
|
||||
);
|
||||
|
||||
/* End of file user_agents.php */
|
||||
/* Location: ./application/config/user_agents.php */
|
||||
Reference in New Issue
Block a user