blob: d9dfc759e8a94b44d449e8e4d8daa4131bee6086 [file] [log] [blame]
gobrien48275462007-11-29 21:29:17 +00001<?php
2/*******************************************************************************
3 * Copyright (c) 2007 Eclipse Foundation and others.
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License v1.0
6 * which accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *
9 * Contributors:
10 * Paul Colton (Aptana)- initial API and implementation
11 * Eclipse Foundation
12*******************************************************************************/
13
atoulme12882d52009-01-26 18:39:17 +000014require_once(dirname(__FILE__) . "/../global.php");
gobrien48275462007-11-29 21:29:17 +000015
16InitPage("login");
gobrienf1b416a2007-12-20 23:00:21 +000017
18
gobrienda3a4502008-01-28 23:43:26 +000019if( !function_exists('json_encode') ){
gobrien65136c52007-12-20 23:07:16 +000020 require("/home/data/httpd/babel.eclipse.org/html/json_encode.php");
gobrienf1b416a2007-12-20 23:00:21 +000021
22 function json_encode($encode){
23 $jsons = new Services_JSON();
24 return $jsons->encode($encode);
25 }
26}