[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: scripts.php
<?php Namespace WordPress\Plugin\GalleryManager; abstract class Scripts { static function init(){ add_Action('wp_enqueue_scripts', Array(static::class, 'enqueueScripts')); add_Action('admin_init', Array(static::class, 'registerAdminScripts')); } static function enqueueScripts(){ $arr_options = Options::get(); unset($arr_options['disable_update_notification'], $arr_options['update_username'], $arr_options['update_password']); $arr_options['ajax_url'] = Admin_Url('admin-ajax.php'); WP_Register_Script('gallery-manager', Core::$base_url . '/assets/js/gallery-manager.js', Array('jquery'), Core::version, Options::get('script_position') != 'header'); WP_Localize_Script('gallery-manager', 'GalleryManager', $arr_options); if (Options::get('lightbox')) WP_Enqueue_Script('gallery-manager'); } static function registerAdminScripts(){ WP_Register_Script('dynamic-gallery', Core::$base_url . '/assets/js/dynamic-gallery.js', Array('jquery'), Null, True); WP_Localize_Script('dynamic-gallery', 'DynamicGallery', Array( 'warn_remove_image' => I18n::t('Do you want to remove this image from the gallery? It will not be deleted from your media library.') )); WP_Register_Script('gallery-meta-boxes', Core::$base_url . '/meta-boxes/meta-boxes.js', Array('jquery', 'dynamic-gallery'), Core::version, True); } } Scripts::init();
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: webm021.cluster127.gra.hosting.ovh.net
Server IP: 10.127.20.21
PHP Version: 8.4.22
Server Software: Apache
System: Linux webm021.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
HDD Total: 14.32 GB
HDD Free: 8.45 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
Exists
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes
gcc:
No
pkexec:
No
git:
Yes
User Info
Username: vcomplcotr
User ID (UID): 38697
Group ID (GID): 100
Script Owner UID: 38697
Current Dir Owner: 38697