Misc/Fixup
* do not urlencode mysqli uris .. can't wait for this to cause issues again. * input[type=number] does not allow inputing dashes to signify negative numbers. Use input[type=text] instead and cast to int afterwards.
This commit is contained in:
parent
937bec3d84
commit
bf06c418d4
2 changed files with 3 additions and 3 deletions
|
|
@ -18,7 +18,7 @@ class DB
|
|||
|
||||
private static function createConnectSyntax(&$options)
|
||||
{
|
||||
return 'mysqli://'.urlencode($options['user']).':'.urlencode($options['pass']).'@'.$options['host'].'/'.$options['db'];
|
||||
return 'mysqli://'.$options['user'].':'.$options['pass'].'@'.$options['host'].'/'.$options['db'];
|
||||
}
|
||||
|
||||
public static function connect($idx)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue