@@ -384,7 +384,7 @@ public function interceptPage($context)
384
384
$ modified = $ this ->_cacheLite ->lastModified ();
385
385
$ modified_gmt = gmdate ('r ' , $ modified );
386
386
if ($ _SERVER ['HTTP_IF_MODIFIED_SINCE ' ] == $ modified_gmt ||
387
- str_replace ('" ' , NULL , stripslashes ($ _SERVER ['HTTP_IF_NONE_MATCH ' ])) == $ this ->computeEtag ()){
387
+ str_replace ('" ' , null , stripslashes ($ _SERVER ['HTTP_IF_NONE_MATCH ' ])) == $ this ->computeEtag ()){
388
388
Page::renderStatusCode (Page::HTTP_NOT_MODIFIED );
389
389
exit ();
390
390
}
@@ -752,10 +752,10 @@ protected function createPageTable()
752
752
// Create extension table
753
753
return Symphony::Database ()->query ("
754
754
CREATE TABLE `tbl_cachelite_references` (
755
- `page` char (128) NOT NULL,
756
- `section_id` int (11) NOT NULL default 0,
757
- `entry_id` int (11) NOT NULL default 0,
758
- `timestamp` datetime NOT NULL /*!50600 default CURRENT_TIMESTAMP */,
755
+ `page` CHAR (128) NOT NULL,
756
+ `section_id` INT (11) NOT NULL default 0,
757
+ `entry_id` INT (11) NOT NULL default 0,
758
+ `timestamp` DATETIME NOT NULL /*!50600 default CURRENT_TIMESTAMP */,
759
759
PRIMARY KEY (`page`, `section_id`, `entry_id`),
760
760
KEY `page` (`page`),
761
761
KEY `section_page` (`page`, `section_id`),
0 commit comments