// SYSTEM PANEL //
[ROOT]
/
home
/
salvufkx
/
homedir
/
public_html
/
wp-content
/
plugins
/
gallery-images-ape
/
libs
[ PARENT ]
EDIT :: classUpdate.php
<?php /* * Ape Gallery http://wpape.net * Version: 1.2.4 - 61253 * Author: Wp Ape (c) * Author URI: http://wpape.net * License: GPL-2.0+ * License URI: http://www.gnu.org/licenses/gpl-2.0.txt * Date: Thu, 08 Dec 2016 16:31:35 GMT */ class ApeGalleryUpdate { public $runUpdate = 1; public $installVersion = false; public $newVersion = false; public function __construct(){ $this->installVersion = get_option( 'wpApeGalleryInstallVersion' ); if(!$this->installVersion) $this->installVersion = 0; $this->newVersion = WPAPE_GALLERY_VERSION; if( $this->installVersion && $this->installVersion == $this->newVersion ) $this->runUpdate = false; if( $this->runUpdate ){ delete_option("wpApeGalleryInstallVersion"); add_option( "wpApeGalleryInstallVersion", WPAPE_GALLERY_VERSION ); delete_option("ApeGalleryInstall"); add_option( 'ApeGalleryInstall', 'now' ); if( !get_option( 'ApeGalleryOptionVersion' ) ) add_option( 'ApeGalleryOptionVersion', '1' ); } } }
SAVE
CANCEL