Paul Arthur
f661e4f6cf
Add a working check for database existence
...
Fixes GH #21
2013-05-13 21:11:38 -04:00
Paul Arthur
a2fa8d3019
More cleanup of install, add DB port option
2013-05-13 21:11:38 -04:00
Paul Arthur
d728c76ed0
Drop nonworking Dba::check_database_exists()
...
It didn't work.
2013-03-29 03:54:00 -04:00
Paul Arthur
ef4d366060
Cosmetics: death to tabs
...
The refactoring I've been doing has reminded me of my strong preference
for spaces, and I feel inclined to impose my will on the tree.
2013-01-26 03:38:46 -05:00
Paul Arthur
16c3ba34fd
Cosmetics: clean up heads in lib/
2013-01-25 18:38:22 -05:00
Paul Arthur
649298b241
Clean up remaining direct calls to mysql functions
...
This makes it theoretically possible to replace Dba with a different
implementation somewhat painlessly.
2012-11-08 14:31:53 -05:00
Paul Arthur
c51ddbd3d6
Clean up check_database, more direct mysql calls
2012-11-08 14:02:28 -05:00
Paul Arthur
70b37ad472
Clean up direct callers of mysql_error()
2012-11-08 13:34:58 -05:00
Paul Arthur
d2eaf10b07
Move check_database into the Dba class
2012-11-08 13:15:19 -05:00
Paul Arthur
37fc03bb48
Make the CLI database installation tool more robust
...
Using a relative path required it to be run from the top-level
directory; we already do voodoo to figure out the correct prefix, so we
should use that.
2012-04-17 17:53:52 -04:00
Paul Arthur
e1c3a21b37
Drop old code related to mysql < 5.0
2012-04-17 14:29:50 -04:00
Paul Arthur
f65076b93d
Switch from _() to T_()
...
Even if we move away from php-gettext in the future, it's easy to
write a quick T_() as a simple wrapper; it's not so easy to rewrite
PHP to allow redeclaration of a function.
2012-04-12 21:13:29 -04:00
Paul Arthur
f03fe15918
Rename lib/install.php to lib/install.lib.php
2012-03-14 11:15:19 -04:00