Changeset 477 in t29-www for lib


Ignore:
Timestamp:
Dec 20, 2013, 11:11:25 AM (10 years ago)
Author:
sven
Message:

Anmeldeformular: Captchas wegen Spambefall aktiviert.

(mailer: Kein die, wenn Recaptcha-Key nicht bekannt ist)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/mail/mailer.php

    r431 r477  
    213213        public static function recaptcha_get_html() {
    214214                global $publickey;
     215                if ($publickey == null || $publickey == '') {
     216                        // recaptcha_get_html wirft sonst ein die().
     217                        return '<b>t29Error: Recaptcha Publickey not loaded!</b>';
     218                }
    215219                return recaptcha_get_html($publickey);
    216220        }
Note: See TracChangeset for help on using the changeset viewer.
© 2008 - 2013 technikum29 • Sven Köppel • Some rights reserved
Powered by Trac
Expect where otherwise noted, content on this site is licensed under a Creative Commons 3.0 License