Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > plugins > filebird > includes >
Operation : Linux premium131.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 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
Admin | Directory | - | - | |
Blocks | Directory | - | - | |
Classes | Directory | - | - | |
Controller | Directory | - | - | |
Model | Directory | - | - | |
Rest | Directory | - | - | |
Support | Directory | - | - | |
Utils | Directory | - | - | |
Fallback.php | File | 846 bytes | May 27 2024 10:21:44. | |
I18n.php | File | 21932 bytes | December 11 2024 15:31:40. | |
Install.php | File | 1339 bytes | April 10 2023 05:54:32. | |
Plugin.php | File | 1370 bytes | May 27 2024 10:21:44. |
<?php namespace FileBird; defined( 'ABSPATH' ) || exit; class Install { public static function create_tables() { global $wpdb; require_once ABSPATH . 'wp-admin/includes/upgrade.php'; $charset_collate = $wpdb->get_charset_collate(); $table_fbv = $wpdb->prefix . 'fbv'; //type == 0: folder //type == 1: collection if ( $wpdb->get_var( "show tables like '{$wpdb->prefix}fbv'" ) != $table_fbv ) { $sql = 'CREATE TABLE ' . $table_fbv . ' ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(250) NOT NULL, `parent` int(11) NOT NULL DEFAULT 0, `type` int(2) NOT NULL DEFAULT 0, `ord` int(11) NULL DEFAULT 0, `created_by` int(11) NULL DEFAULT 0, PRIMARY KEY (id), UNIQUE KEY `id` (id)) ' . $charset_collate . ';'; dbDelta( $sql ); } $table = $wpdb->prefix . 'fbv_attachment_folder'; //type == 0: folder //type == 1: collection if ( $wpdb->get_var( "show tables like '{$wpdb->prefix}fbv_attachment_folder'" ) != $table ) { $sql = 'CREATE TABLE ' . $table . ' ( `folder_id` int(11) unsigned NOT NULL, `attachment_id` bigint(20) unsigned NOT NULL, PRIMARY KEY( `folder_id`, `attachment_id`) )' . $charset_collate . ';'; dbDelta( $sql ); } } }
SILENT KILLER Tool