Changes between Version 23 and Version 24 of XcacheApi


Ignore:
Timestamp:
2013-09-03T03:14:53+02:00 (22 months ago)
Author:
AlexisWilke
Comment:

Fixed example code so it would actually work.

Legend:

Unmodified
Added
Removed
Modified
  • XcacheApi

    v23 v24  
    4545<?php
    4646// save every 100 hits
    47 if (($count % 10) == 100) {
     47if (($count % 100) == 0) {
    4848  save_count_to_mysql($count);
    4949}