@@ -85,8 +85,7 @@ |
||
| 85 | 85 | // Create the underlying PDO object |
| 86 | 86 | self::$pdo = new PDO( |
| 87 | 87 | (substr($DBHOST, 0, 1) === '/' ? |
| 88 | - "mysql:unix_socket={$DBHOST};dbname={$DBNAME}" : |
|
| 89 | - "mysql:host={$DBHOST};dbname={$DBNAME};port={$DBPORT}" |
|
| 88 | + "mysql:unix_socket={$DBHOST};dbname={$DBNAME}" : "mysql:host={$DBHOST};dbname={$DBNAME};port={$DBPORT}" |
|
| 90 | 89 | ), |
| 91 | 90 | $DBUSER, $DBPASS, |
| 92 | 91 | array( |
@@ -63,7 +63,7 @@ |
||
| 63 | 63 | while (list(, $next) = each($queue)) { |
| 64 | 64 | // For each family on the path |
| 65 | 65 | for ($n = count($next['path']) - 2; $n >= 1; $n -= 2) { |
| 66 | - $exclude = $next['exclude']; |
|
| 66 | + $exclude = $next['exclude']; |
|
| 67 | 67 | if (count($exclude) >= $recursion) { |
| 68 | 68 | continue; |
| 69 | 69 | } |