Skip to content
Snippets Groups Projects
Commit fdf34fc0 authored by Kevin Abel's avatar Kevin Abel
Browse files

Added a new static member for the jsapi from google. Bad things happen if you use the wrong key.

parent 6f86376d
Branches
No related tags found
No related merge requests found
......@@ -6,3 +6,11 @@ error_reporting(E_ALL);
set_include_path(dirname(__FILE__).'/src:'.dirname(__FILE__).'/lib/php:'.get_include_path());
require_once 'UNL/Autoload.php';
/* A Google Loader API Key is presumably needed to ensure proper functionality.
* Register for an API Key at http://code.google.com/apis/loader/signup.html
* The key is tied to a Google Account and specific to a given URL "referrer"
*/
// the following key is only "valid" for http://ucommabel.unl.edu/workspace/UNL_Search/www/
// UNL_Search::$jsapiKey = 'ABQIAAAAGAtSvF89-VbesSJ07TEeoBTpxXZziuBpIcFFfJO7Mm8wj1oQWRRwVSIfGRIEAC9DlOSQX7rAAWHjhA';
<?php
class UNL_Search
{
public static $jsapiKey = '';
function __construct()
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment