[geeklog-hg] geeklog: Added in Config Validation for Google, Microsoft, Yahoo

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Wed Aug 28 21:39:24 EDT 2013


changeset 9269:ca722f50d4ee
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/ca722f50d4ee
user: Tom <websitemaster at cogeco.net>
date: Wed Aug 28 21:39:02 2013 -0400
description:
Added in Config Validation for Google, Microsoft, Yahoo

diffstat:

 public_html/admin/configuration_validation.php |  10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diffs (20 lines):

diff -r 1c57354ff54d -r ca722f50d4ee public_html/admin/configuration_validation.php
--- a/public_html/admin/configuration_validation.php	Wed Aug 28 20:42:44 2013 -0400
+++ b/public_html/admin/configuration_validation.php	Wed Aug 28 21:39:02 2013 -0400
@@ -308,6 +308,16 @@
 $_CONF_VALIDATE['Core']['twitter_login'] = array('rule' => 'boolean');
 $_CONF_VALIDATE['Core']['twitter_consumer_key'] = array('rule' => 'stringOrEmpty');
 $_CONF_VALIDATE['Core']['twitter_consumer_secret'] = array('rule' => 'stringOrEmpty');
+$_CONF_VALIDATE['Core']['google_login'] = array('rule' => 'boolean');
+$_CONF_VALIDATE['Core']['google_consumer_key'] = array('rule' => 'stringOrEmpty');
+$_CONF_VALIDATE['Core']['google_consumer_secret'] = array('rule' => 'stringOrEmpty');
+$_CONF_VALIDATE['Core']['microsoft_login'] = array('rule' => 'boolean');
+$_CONF_VALIDATE['Core']['microsoft_consumer_key'] = array('rule' => 'stringOrEmpty');
+$_CONF_VALIDATE['Core']['microsoft_consumer_secret'] = array('rule' => 'stringOrEmpty');
+$_CONF_VALIDATE['Core']['yahoo_login'] = array('rule' => 'boolean');
+$_CONF_VALIDATE['Core']['yahoo_consumer_key'] = array('rule' => 'stringOrEmpty');
+$_CONF_VALIDATE['Core']['yahoo_consumer_secret'] = array('rule' => 'stringOrEmpty');
+
 $_CONF_VALIDATE['Core']['aftersave_user'] = array(
     'rule' => array('inList', array('admin', 'home', 'list', 'item'), true)
 );



More information about the geeklog-cvs mailing list