Burn on pastes delete and stikkedizr theme fix

Cron used to delete all pastes with toexpire set to 1. Burn on read
pastes had this param set by default to 1 also, so they get removed even
if unreaded.

Stikkedizr theme updated for dynamic width for different devices.
This commit is contained in:
PJanisio 2015-05-26 21:02:06 +02:00
parent 3acc27d6de
commit d55e065896
2 changed files with 2 additions and 1 deletions

View File

@ -698,7 +698,7 @@ class Pastes extends CI_Model
{ {
$stamp = $row['expire']; $stamp = $row['expire'];
if ($now > $stamp) if ($now > $stamp AND $stamp != 0)
{ {
$this->delete_paste($row['pid']); $this->delete_paste($row['pid']);
} }

View File

@ -10,6 +10,7 @@ $page_title .= $this->config->item('site_name');
<html lang="en"> <html lang="en">
<head> <head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php echo $page_title; ?></title> <title><?php echo $page_title; ?></title>
<?php <?php