Skip to content

Commit

Permalink
restore environment/__init__.php to open source version
Browse files Browse the repository at this point in the history
Summary:sorry about that.

Reviewers:

Test Plan:

Task ID:
  • Loading branch information
Justin Bishop committed Nov 22, 2011
1 parent 5e2ee1d commit 4831521
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 11 deletions.
2 changes: 1 addition & 1 deletion WebDriverEnvironment.php
Expand Up @@ -20,6 +20,6 @@

final class WebDriverEnvironment {
public static function CurlExec($ch) {
return curl_exec_internal_DEPRECATED($ch);
return curl_exec($ch);
}
}
30 changes: 20 additions & 10 deletions __init__.php
@@ -1,13 +1,23 @@
<?php
// Copyright 2004-present Facebook. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

require_module('http/curl');

require_source('WebDriverBase.php');
require_source('WebDriver.php');
require_source('WebDriverContainer.php');
require_source('WebDriverSession.php');
require_source('WebDriverElement.php');
require_source('WebDriverEnvironment.php');
require_source('WebDriverExceptions.php');
require_source('WebDriverSimpleItem.php');
require_once('WebDriverBase.php');
require_once('WebDriver.php');
require_once('WebDriverContainer.php');
require_once('WebDriverSession.php');
require_once('WebDriverElement.php');
require_once('WebDriverEnvironment.php');
require_once('WebDriverExceptions.php');
require_once('WebDriverSimpleItem.php');

0 comments on commit 4831521

Please sign in to comment.