Merge pull request #4512 from sminnee/4511-fix-tinymce-spellcheck-deprecation

Fix tinymce spellcheck deprecation
This commit is contained in:
Will Morgan 2015-08-19 10:11:32 +01:00
commit 7fc58f75aa

View File

@ -4,7 +4,7 @@
* *
* @package MCManager.includes * @package MCManager.includes
* @author Moxiecode * @author Moxiecode
* @copyright Copyright © 2004-2007, Moxiecode Systems AB, All rights reserved. * @copyright Copyright © 2004-2007, Moxiecode Systems AB, All rights reserved.
*/ */
require_once("./includes/general.php"); require_once("./includes/general.php");
@ -24,14 +24,6 @@ $raw = "";
if (isset($_POST["json_data"])) if (isset($_POST["json_data"]))
$raw = getRequestParam("json_data"); $raw = getRequestParam("json_data");
// Try globals array
if (!$raw && isset($_GLOBALS) && isset($_GLOBALS["HTTP_RAW_POST_DATA"]))
$raw = $_GLOBALS["HTTP_RAW_POST_DATA"];
// Try globals variable
if (!$raw && isset($HTTP_RAW_POST_DATA))
$raw = $HTTP_RAW_POST_DATA;
// Try stream // Try stream
if (!$raw) { if (!$raw) {
if (!function_exists('file_get_contents')) { if (!function_exists('file_get_contents')) {