Author Topic: $cron_authorisation_token in auto-invoice-generator.php  (Read 1742 times)

Offline possum

  • Sr. Member
  • ****
  • Posts: 99
    • View Profile
$cron_authorisation_token in auto-invoice-generator.php
« on: 23/August/2007, 08:46:15 PM »
Hi,

You may wish to change the $cron_authorisation_token variable contained in auto-invoice-generator.php to match what you have as default in global configuration.

That is, instead of having

$cron_authorisation_token = "netshinebillingcron";

change it to

$cron_authorisation_token = "nbillcron";

Offline netshine

  • Administrator
  • Hero Member
  • *****
  • Posts: 4,952
    • View Profile
Re: $cron_authorisation_token in auto-invoice-generator.php
« Reply #1 on: 24/August/2007, 08:56:45 AM »
Thanks for pointing that out - now updated. However, you shouldn't really use the default value anyway - you should make up your own value (otherwise, it defeats the purpose, which is as a security measure to stop other people from being able to call the functions that the script calls. Protecting the actual script that is run by the CRON job, whilst necessary, does not prevent another script from calling the same functions.).