Remove some references, and add autoload parameter to composer.json

This commit is contained in:
Timothy Warren 2012-09-25 14:16:01 +00:00
parent bf6d7bcbd1
commit 13a37e10f2
5 changed files with 6 additions and 5 deletions

View File

@ -1,6 +1,6 @@
# Query # Query
A query builder/abstraction layer, using prepared queries for security. A query builder/database abstraction layer, using prepared queries for security.
[![Build Status](https://secure.travis-ci.org/timw4mail/Query.png)](http://travis-ci.org/timw4mail/Query) [![Build Status](https://secure.travis-ci.org/timw4mail/Query.png)](http://travis-ci.org/timw4mail/Query)

View File

@ -105,7 +105,7 @@ function db_filter($array, $index)
{ {
$new_array = array(); $new_array = array();
foreach($array as &$a) foreach($array as $a)
{ {
$new_array[] = $a[$index]; $new_array[] = $a[$index];
} }

View File

@ -107,7 +107,7 @@ abstract class DB_PDO extends PDO {
} }
// Bind the parameters // Bind the parameters
foreach($data as $k => &$value) foreach($data as $k => $value)
{ {
if(is_numeric($k)) if(is_numeric($k))
{ {
@ -220,7 +220,6 @@ abstract class DB_PDO extends PDO {
$ident = implode(',', $parts); $ident = implode(',', $parts);
} }
// Split each identifier by the period // Split each identifier by the period
$hiers = explode('.', $ident); $hiers = explode('.', $ident);
$hiers = array_map('mb_trim', $hiers); $hiers = array_map('mb_trim', $hiers);

View File

@ -14,5 +14,7 @@
"require": { "require": {
"php": ">=5.2.0" "php": ">=5.2.0"
}, },
"autoload": {
"files": ["autoload.php"]
}
} }

Binary file not shown.