From: Dylan Lloyd Date: Thu, 24 Feb 2011 01:02:10 +0000 (-0500) Subject: MySQL q's are now prepared. Added includes/cms.php X-Git-Url: https://disinclined.org/git/?a=commitdiff_plain;h=a6fc8a7a21a0063db905737365e9daa149554665;p=dylansserver.git MySQL q's are now prepared. Added includes/cms.php All MySQL queries from $_GET are now prepared. This logic has been placed in `$this->query($sql, $data_types, $dirty_data, $dirty_data...)`. Projects are now also handled by includes/cms.php. I still don't feel as though the code is entirely DRY, and the object schema still feels somewhat procedural. The publish_* scripts need to be updated or gotten rid of for a nice interface. The date_posted storage needs to be switched to datetime, that was a silly decision to start with. --- diff --git a/index.php b/index.php index dbff9a5..b519847 100644 --- a/index.php +++ b/index.php @@ -25,26 +25,7 @@
- +