From ab347586ef289e960ab7cfad32574e526cdcce0b Mon Sep 17 00:00:00 2001
From: Timothy Warren
Date: Tue, 23 Aug 2011 12:29:29 -0400
Subject: Got PDO working
---
application/config/database.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'application')
diff --git a/application/config/database.php b/application/config/database.php
index b4b34bf66..5a84a471a 100644
--- a/application/config/database.php
+++ b/application/config/database.php
@@ -17,7 +17,7 @@
| ['password'] The password used to connect to the database
| ['database'] The name of the database you want to connect to
| ['dbdriver'] The database type. ie: mysql. Currently supported:
- mysql, mysqli, postgre, odbc, mssql, sqlite, oci8
+ mysql, mysqli, pdo, postgre, odbc, mssql, sqlite, oci8
| ['dbprefix'] You can add an optional prefix, which will be added
| to the table name when using the Active Record class
| ['pconnect'] TRUE/FALSE - Whether to use a persistent connection
--
cgit v1.2.3-24-g4f1b
From 539dcb0b2968a2d83c16b42a20252011152f2e65 Mon Sep 17 00:00:00 2001
From: "Cloudmanic Labs, LLC"
Date: Sun, 18 Sep 2011 12:08:56 -0700
Subject: Added support to select the name of the database table you are going
to use in Migrations
---
application/config/migration.php | 13 +++++++++++++
1 file changed, 13 insertions(+)
(limited to 'application')
diff --git a/application/config/migration.php b/application/config/migration.php
index dba870010..aca052d0c 100644
--- a/application/config/migration.php
+++ b/application/config/migration.php
@@ -11,6 +11,19 @@
*/
$config['migration_enabled'] = FALSE;
+/*
+|--------------------------------------------------------------------------
+| Migrations table
+|--------------------------------------------------------------------------
+|
+| This is the name of the table that will store the current migrations state.
+| When migrations runs it will store in a database table which migration
+| level the system is at. It then compares the migration level in the this
+| table to the $config['migration_version'] if they are not the same it
+| will migrate up. This must be set.
+|
+*/
+$config['migration_table'] = 'migrations';
/*
|--------------------------------------------------------------------------
--
cgit v1.2.3-24-g4f1b
From d1ba8f790eb91deb2898ff19d7827ce86e40ee7c Mon Sep 17 00:00:00 2001
From: "Cloudmanic Labs, LLC"
Date: Sun, 18 Sep 2011 12:23:00 -0700
Subject: Migrations: Added a config that allows the system to migration to the
latest migration when you load the library. This way you do not have to call
migrations anywhere else in your code and can always be at the latest
migration
---
application/config/migration.php | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
(limited to 'application')
diff --git a/application/config/migration.php b/application/config/migration.php
index aca052d0c..1f532f170 100644
--- a/application/config/migration.php
+++ b/application/config/migration.php
@@ -25,6 +25,22 @@ $config['migration_enabled'] = FALSE;
*/
$config['migration_table'] = 'migrations';
+
+/*
+|--------------------------------------------------------------------------
+| Auto Migrate To Latest
+|--------------------------------------------------------------------------
+|
+| If this is set to TRUE when you load the migrations class and have
+| $config['migration_enabled'] set to TRUE the system will auto migrate
+| to your latest migration (whatever $config['migration_version'] is
+| set to). This way you do not have to call migrations anywhere else
+| in your code to have the latest migration.
+|
+*/
+$config['migration_auto_latest'] = FALSE;
+
+
/*
|--------------------------------------------------------------------------
| Migrations version
--
cgit v1.2.3-24-g4f1b
From 42430a4c1ecc6d0bdaf5253a469d2b01bb3e69f6 Mon Sep 17 00:00:00 2001
From: cenk
Date: Mon, 26 Sep 2011 00:35:25 +0300
Subject: Added XHTML Basic 1.1 (xhtml-basic11) doctype.
---
application/config/doctypes.php | 1 +
1 file changed, 1 insertion(+)
(limited to 'application')
diff --git a/application/config/doctypes.php b/application/config/doctypes.php
index f7e1d19a2..c9f16eedc 100644
--- a/application/config/doctypes.php
+++ b/application/config/doctypes.php
@@ -5,6 +5,7 @@ $_doctypes = array(
'xhtml1-strict' => '',
'xhtml1-trans' => '',
'xhtml1-frame' => '',
+ 'xhtml-basic11' => '',
'html5' => '',
'html4-strict' => '',
'html4-trans' => '',
--
cgit v1.2.3-24-g4f1b
From 2d297cb3c0008729a327b66ffacbfdf6bc2eb7e3 Mon Sep 17 00:00:00 2001
From: kenjis
Date: Tue, 4 Oct 2011 12:00:55 +0900
Subject: add meta charset tag to error templates
---
application/errors/error_404.php | 1 +
application/errors/error_db.php | 1 +
application/errors/error_general.php | 1 +
3 files changed, 3 insertions(+)
(limited to 'application')
diff --git a/application/errors/error_404.php b/application/errors/error_404.php
index 792726a67..bddee6cc6 100644
--- a/application/errors/error_404.php
+++ b/application/errors/error_404.php
@@ -1,6 +1,7 @@
+
404 Page Not Found
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/application/errors/error_db.php b/application/errors/error_db.php
deleted file mode 100644
index 3b244e094..000000000
--- a/application/errors/error_db.php
+++ /dev/null
@@ -1,89 +0,0 @@
-
-
-
-
-Database Error
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/application/errors/error_general.php b/application/errors/error_general.php
deleted file mode 100644
index c88afe168..000000000
--- a/application/errors/error_general.php
+++ /dev/null
@@ -1,89 +0,0 @@
-
-
-
-
-Error
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/application/errors/error_php.php b/application/errors/error_php.php
deleted file mode 100644
index 3855720de..000000000
--- a/application/errors/error_php.php
+++ /dev/null
@@ -1,55 +0,0 @@
-
-
-
-
-
A PHP Error was encountered
-
-
Severity:
-
Message:
-
Filename:
-
Line Number:
-
-
-
-
Backtrace:
-
-
-
-
- File:
- Line:
- Function:
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/application/errors/index.html b/application/errors/index.html
deleted file mode 100644
index c942a79ce..000000000
--- a/application/errors/index.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
- 403 Forbidden
-
-
-
-Directory access is forbidden.
-
-
-
\ No newline at end of file
diff --git a/application/views/errors/error_404.php b/application/views/errors/error_404.php
new file mode 100644
index 000000000..c19bedfcd
--- /dev/null
+++ b/application/views/errors/error_404.php
@@ -0,0 +1,89 @@
+
+
+
+
+404 Page Not Found
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/application/views/errors/error_db.php b/application/views/errors/error_db.php
new file mode 100644
index 000000000..3b244e094
--- /dev/null
+++ b/application/views/errors/error_db.php
@@ -0,0 +1,89 @@
+
+
+
+
+Database Error
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/application/views/errors/error_general.php b/application/views/errors/error_general.php
new file mode 100644
index 000000000..c88afe168
--- /dev/null
+++ b/application/views/errors/error_general.php
@@ -0,0 +1,89 @@
+
+
+
+
+Error
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/application/views/errors/error_php.php b/application/views/errors/error_php.php
new file mode 100644
index 000000000..3855720de
--- /dev/null
+++ b/application/views/errors/error_php.php
@@ -0,0 +1,55 @@
+
+
+
+
+
A PHP Error was encountered
+
+
Severity:
+
Message:
+
Filename:
+
Line Number:
+
+
+
+
Backtrace:
+
+
+
+
+ File:
+ Line:
+ Function:
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/application/views/errors/index.html b/application/views/errors/index.html
new file mode 100644
index 000000000..c942a79ce
--- /dev/null
+++ b/application/views/errors/index.html
@@ -0,0 +1,10 @@
+
+
+ 403 Forbidden
+
+
+
+Directory access is forbidden.
+
+
+
\ No newline at end of file
--
cgit v1.2.3-24-g4f1b
From 04d4091dfa551475998c351e09858e5ebdcf4482 Mon Sep 17 00:00:00 2001
From: Alan Jenkins
Date: Mon, 30 Apr 2012 16:04:43 +0100
Subject: fix backtrace filtering
The backtrace was filtered to remove CI system files,
but the filter was buggy. It would also filter out
application files which happened to contain the string "system"...
or ALL files, if the application directory is under /system/
(Perhaps the latter comes as a surprise, but it's explicitly
mentioned in index.php and ).
Instead, we should test whether the file is underneath BASEPATH
(using realpath() to make sure we have the same sort of slashes).
---
application/errors/error_php.php | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
(limited to 'application')
diff --git a/application/errors/error_php.php b/application/errors/error_php.php
index 3855720de..b76dc8a9e 100644
--- a/application/errors/error_php.php
+++ b/application/errors/error_php.php
@@ -40,12 +40,15 @@
Backtrace:
-
+
+
File:
Line:
Function:
+
--
cgit v1.2.3-24-g4f1b
From 1ef19196e32d081bd5db1a7f87599acea0ecac6e Mon Sep 17 00:00:00 2001
From: Alex Bilbie
Date: Thu, 17 May 2012 20:41:12 +0100
Subject: Changed the default controller route to use single quotes instead of
double quotes
---
application/config/routes.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'application')
diff --git a/application/config/routes.php b/application/config/routes.php
index 474bda969..001198615 100644
--- a/application/config/routes.php
+++ b/application/config/routes.php
@@ -64,7 +64,7 @@
|
*/
-$route['default_controller'] = "welcome";
+$route['default_controller'] = 'welcome';
$route['404_override'] = '';
/* End of file routes.php */
--
cgit v1.2.3-24-g4f1b
From beea5dc4bdb244da4789d4d1a99065099ef51a1e Mon Sep 17 00:00:00 2001
From: Alex Bilbie
Date: Sat, 2 Jun 2012 11:13:54 +0100
Subject: Replaced `==` with `===` in /application/views/welcome_message.php
---
application/views/welcome_message.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'application')
diff --git a/application/views/welcome_message.php b/application/views/welcome_message.php
index 45360da60..65f62a922 100644
--- a/application/views/welcome_message.php
+++ b/application/views/welcome_message.php
@@ -107,7 +107,7 @@
If you are exploring CodeIgniter for the very first time, you should start by reading the User Guide.
-
+