Added CFG->cronpassword for moodle/admin/cron.php
authormartin <martin>
Mon, 27 May 2002 06:16:38 +0000 (06:16 +0000)
committermartin <martin>
Mon, 27 May 2002 06:16:38 +0000 (06:16 +0000)
config-dist.php

index f0c5777f6acbfecc2999eef72f3a7498d5d1cd64..d8fd16546c7ffbe8f0202bc4079b945744e9867e 100644 (file)
@@ -70,6 +70,11 @@ $CFG->lang     = "en";
 
 $CFG->smtphosts  = "mail.example.com";
 
+// Choose a password to be used by the cron script.  This helps avoid
+// any problems caused by someone spamming moodle/admin/cron.php
+
+$CFG->cronpassword = "fr0o6y";
+
 
 // You should not need to change anything else. To continue setting up 
 // Moodle, use your web browser to go to the moodle/admin web page.