HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux WebLive 5.15.0-79-generic #86-Ubuntu SMP Mon Jul 10 16:07:21 UTC 2023 x86_64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/html/wpmuhibbah_err/wp-content/plugins/meow-gallery/classes/init.php
<?php

if ( class_exists( 'MeowPro_MGL_Core' ) && class_exists( 'Meow_MGL_Core' ) ) {
	function mgl_admin_notices() {
		echo '<div class="error"><p>Thanks for installing the Pro version of Meow Gallery :) However, the free version is still enabled. Please disable or uninstall it.</p></div>';
	}
	add_action( 'admin_notices', 'mgl_admin_notices' );
	return;
}

spl_autoload_register(function ( $class ) {
  $necessary = true;
  $file = null;
  if ( strpos( $class, 'Meow_MGL_Builders_' ) !== false ) {
    $necessary = false;
    $file = MGL_PATH . '/classes/builders/' . str_replace( 'meow_mgl_builders_', '', strtolower( $class ) ) . '.php';
    if ( !file_exists( $file ) ) {
      $file = MGL_PATH . '/premium/builders/' . str_replace( 'meow_mgl_builders_', '', strtolower( $class ) ) . '.php';
    }
  }
  else if ( strpos( $class, 'Meow_MGL' ) !== false ) {
    $file = MGL_PATH . '/classes/' . str_replace( 'meow_mgl_', '', strtolower( $class ) ) . '.php';
  }
  else if ( strpos( $class, 'MeowCommon_' ) !== false ) {
    $file = MGL_PATH . '/common/' . str_replace( 'meowcommon_', '', strtolower( $class ) ) . '.php';
  }
  else if ( strpos( $class, 'MeowCommonPro_' ) !== false ) {
    $necessary = false;
    $file = MGL_PATH . '/common/premium/' . str_replace( 'meowcommonpro_', '', strtolower( $class ) ) . '.php';
  }
  else if ( strpos( $class, 'MeowPro_MGL' ) !== false ) {
    $necessary = false;
    $file = MGL_PATH . '/premium/' . str_replace( 'meowpro_mgl_', '', strtolower( $class ) ) . '.php';
  }
  if ( $file ) {
    if ( !$necessary && !file_exists( $file ) ) {
      return;
    }
    require( $file );
  }
});

$core = new Meow_MGL_Core();

// TODO: Disable this call after August 2025, then remove the class completely after January 2026
new Meow_MGL_Migrations( $core );

?>