whydoyoucallstats.php 304 B

1234567891011121314
  1. <?php
  2. //why do you call stats collecting
  3. if (ubRouting::get('action') == 'whydoyoucallstats') {
  4. if ($alterconf['WDYC_ENABLED']) {
  5. $whydoyoucall = new WhyDoYouCall();
  6. $whydoyoucall->saveStats();
  7. die('OK: WDYCSTATS');
  8. } else {
  9. die('ERROR: WDYC DISABLED');
  10. }
  11. }