mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-25 20:41:20 -05:00
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:
parent
3acc27d6de
commit
d55e065896
@ -698,7 +698,7 @@ class Pastes extends CI_Model
|
||||
{
|
||||
$stamp = $row['expire'];
|
||||
|
||||
if ($now > $stamp)
|
||||
if ($now > $stamp AND $stamp != 0)
|
||||
{
|
||||
$this->delete_paste($row['pid']);
|
||||
}
|
||||
|
@ -10,6 +10,7 @@ $page_title .= $this->config->item('site_name');
|
||||
<html lang="en">
|
||||
<head>
|
||||
<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>
|
||||
<?php
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user