<?php
/*
- * Copyright 2011 Facebook, Inc.
+ * Copyright 2012 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
$parent_dir = dirname(dirname(dirname(__FILE__)));
ini_set('include_path', $include_path.PATH_SEPARATOR.$parent_dir);
-@include_once 'libphutil/src/__phutil_library_init__.php';
+@include_once 'libphutil/scripts/__init_script__.php';
if (!@constant('__LIBPHUTIL__')) {
echo "ERROR: Unable to load libphutil. Update your PHP 'include_path' to ".
"include the parent directory of libphutil/.\n";
}
phutil_load_library(dirname(dirname(__FILE__)).'/src/');
-
-// There may be some kind of auto-prepend script configured which starts an
-// output buffer. Discard any such output buffers.
-while (ob_get_level() > 0) {
- ob_end_clean();
-}