| <?php |
| /******************************************************************************* |
| * Copyright (c) 2012 Eclipse Foundation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Eclipse Foundation- initial API and implementation |
| *******************************************************************************/ |
| |
| # This is used by the paypal/Friends of Eclipse process. |
| # See Infra #847 |
| |
| require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); $App = new App(); |
| require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/classes/friends/friend.class.php"); |
| |
| $bugzillaLogin = $_GET['bugzillaLogin']; |
| $friend = new Friend(); |
| $bugzillaID = $friend->getBugzillaIDFromEmail($bugzillaLogin); |
| if ($bugzillaID != 0) |
| echo "Verified!"; |
| else |
| echo "Invalid Login"; |
| ?> |