<HTML><HEAD><META content="text/html; charset=UTF-8" http-equiv="Content-Type"></HEAD><BODY style="font-family: Helvetica, Arial, sans-serif;"><div style="font-family: Helvetica, Arial, sans-serif;">Hi - Yes, database_library.php is the only place that has mysql_ calls.<BR>
<BR>
There should also be a database_library_sqlite.php.<BR>
<BR>
It's not particularly elegant, but the code should use one or the other to show it switching between the two.<BR>
<BR>
I wasn't sure if it could be rewritten to use PDO or not (in that, I wasn't sure if PDO would be an acceptable solution).<BR>
<BR>
David.<BR>
<BR>
Tom Reijnders wrote:<BR>
<blockquote type="cite"><BR>
David,<BR>
<BR>
After the merge my database_library.php still uses mysql_ calls. Is <BR>
that correct, or did something go wrong during the merge?<BR>
It's easy enough to update now, but I was just wondering.<BR>
<BR>
Tom<BR>
<BR>
David Goodwin schreef op 12-5-2014 17:54:<BR>
<blockquote type="cite"><BR>
Hi,<BR>
<BR>
See :<BR>
<BR>
https://github.com/thexerteproject/xerteonlinetoolkits/pull/65<BR>
<BR>
* changes XOT to break it's dependency on mysql_ (outside of 'setup')<BR>
* removes the requirement to have mysql - it is defaulting to sqlite <BR>
- this ought to make it easier for people to test.<BR>
* removes any need to have a 'setup/' installer (to a large part). <BR>
Chucking the files into a web server and browsing to the install <BR>
should trigger it to create an empty database in the system temp dir.<BR>
<BR>
<BR>
See :<BR>
<BR>
https://github.com/thexerteproject/xerteonlinetoolkits/pull/66<BR>
<BR>
* When I browse away from the front page, or try and reload it, <BR>
Firefox get's stuck in a refresh loop.<BR>
<BR>
<BR>
and :<BR>
<BR>
See :<BR>
<BR>
https://github.com/thexerteproject/xerteonlinetoolkits/pull/57<BR>
<BR>
* Improve the storing of extra_flags against a template.<BR>
* Add new ZIP export module (use php's ZIP extension if possible, <BR>
otherwise fall back to the PHP userspace library).<BR>
* this should resolve memory limit issues with exporting zip files.<BR>
<BR>
<BR>
thanks<BR>
David.<BR>
<BR>
</blockquote><BR>
</div></BODY></HTML>