diff options
author | canyonknight <canyonknight@gmail.com> | 2012-08-09 00:09:51 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2012-09-18 00:58:46 +0200 |
commit | e171f6f34eeacf35cf7142b4788d43e7d0978546 (patch) | |
tree | 28ab4e0a631d0a16e5972490c0ed6cfbad8b8231 /INSTALL | |
parent | b3393208fb00a00e77a475e8007168f266718ac5 (diff) | |
download | aur-e171f6f34eeacf35cf7142b4788d43e7d0978546.tar.gz aur-e171f6f34eeacf35cf7142b4788d43e7d0978546.tar.xz |
Migrate all DB code to use PDO
All DB code currently uses the quickly aging mysql_* functions. These
functions are strongly discouraged and may eventually be deprecated.
Transition all code to utilize the PDO data access abstraction layer. PDO
allows for consistent query code across multiple databases. This could
potentially allow for someone to use a database other than MySQL with
minimal code changes.
All functions and behaviors are reproduced as faithfully as possible with
PDO equivalents and some changes in code.
Signed-off-by: canyonknight <canyonknight@gmail.com>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -45,7 +45,7 @@ Setup on Arch Linux: Make sure you have mysql and json enabled in PHP. - Edit php.ini and uncomment/add these lines: - extension=mysql.so + extension=pdo_mysql.so extension=json.so If those php extensions are separate packages on your system, install |