Changeset 488883 for count-per-day
- Timestamp:
- 01/12/2012 06:02:03 PM (13 years ago)
- Location:
- count-per-day/trunk
- Files:
-
- 7 edited
-
counter.php (modified) (2 diffs)
-
download.php (modified) (2 diffs)
-
geoip/GeoIP.dat (modified) (previous)
-
map/data.xml.php (modified) (1 diff)
-
map/map.php (modified) (1 diff)
-
map/settings.xml.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
count-per-day/trunk/counter.php
r454194 r488883 4 4 Plugin URI: http://www.tomsdimension.de/wp-plugins/count-per-day 5 5 Description: Counter, shows reads per page; today, yesterday, last week, last months ... on dashboard, per shortcode or in widget. 6 Version: 3.1 6 Version: 3.1.1 7 7 License: Postcardware 8 8 Author: Tom Braider … … 11 11 12 12 $cpd_dir_name = 'count-per-day'; 13 $cpd_version = '3.1 ';13 $cpd_version = '3.1.1'; 14 14 15 15 $cpd_path = str_replace('/', DIRECTORY_SEPARATOR, ABSPATH.PLUGINDIR.'/'.$cpd_dir_name.'/'); -
count-per-day/trunk/download.php
r454194 r488883 7 7 die('no way'); 8 8 $file = sys_get_temp_dir().'/'.$_GET['f']; 9 if ( !in_array(substr($file, -3), array('.gz','sql','txt','tmp')) || strpos($file, '..') !== false ) 10 die('no way'); 9 11 if (!file_exists($file)) 10 12 die('file not found'); … … 13 15 header("Content-Disposition: attachment; filename=\"$name\""); 14 16 readfile($file); 17 18 19 20 -
count-per-day/trunk/map/data.xml.php
r421769 r488883 8 8 9 9 $what = (empty($_GET['map'])) ? 'reads' : $_GET['map']; 10 $what = strip_tags($what); 10 11 11 12 if ( $what == 'online' ) -
count-per-day/trunk/map/map.php
r421769 r488883 1 <?php $what = (empty($_GET['map'])) ? 'reads' : $_GET['map']; ?> 1 <?php 2 $what = (empty($_GET['map'])) ? 'reads' : $_GET['map']; 3 $what = strip_tags($what); 4 if ( !in_array($what, array('visitors','reads','online')) ) 5 die(); 6 ?> 2 7 3 8 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -
count-per-day/trunk/map/settings.xml.php
r421769 r488883 1 1 <?php 2 2 $what = (empty($_GET['map'])) ? 'Reads' : ucfirst($_GET['map']); 3 $what = strip_tags($what); 3 4 $disable = (empty($_GET['min'])) ? '' : '<enabled>false</enabled>'; 4 5 5 6 header("content-type: text/xml; charset=utf-8"); 6 echo '<?xml version="1.0" encoding="UTF-8"?>';7 7 ?> 8 <?xml version="1.0" encoding="UTF-8"?> 8 9 9 10 <settings> -
count-per-day/trunk/readme.txt
r454203 r488883 3 3 Tags: counter, count, posts, visits, reads, dashboard, widget, shortcode 4 4 Requires at least: 3.0 5 Tested up to: 3.3 6 Stable tag: 3.1 5 Tested up to: 3.3.1 6 Stable tag: 3.1.1 7 7 License: Postcardware :) 8 8 Donate link: http://www.tomsdimension.de/postcards … … 132 132 133 133 * only count reads, without any output 134 * cpdShowcall it134 * 'show' call it 135 135 136 136 'getFirstCount( $return )' … … 284 284 285 285 == Changelog == 286 287 = 3.1.1 Security update = 288 + Bugfix: important fixes in map.php and download.php, thanks to Pavel Komisarchuk from http://6scan.com 286 289 287 290 = 3.1 =
Note: See TracChangeset
for help on using the changeset viewer.