Submit
Path:
~
/
home
/
bfxleof
/
www
/
wp-content
/
plugins
/
duplicator
/
views
/
settings
/
File Content:
storage.php
<?php defined('ABSPATH') || defined('DUPXABSPATH') || exit; ?> <style> div.panel {padding: 20px 5px 10px 10px;} div.area {font-size:16px; text-align: center; line-height: 30px; width:500px; margin:auto} ul.li {padding:2px} </style> <div class="panel"> <?php $action_updated = null; $action_response = esc_html__("Storage Settings Saved", 'duplicator'); //SAVE RESULTS if (filter_input(INPUT_POST, 'action', FILTER_SANITIZE_STRING) === 'save') { //Nonce Check if (!wp_verify_nonce(filter_input(INPUT_POST, 'dup_storage_settings_save_nonce_field', FILTER_SANITIZE_STRING), 'dup_settings_save')) { die('Invalid token permissions to perform this request.'); } DUP_Settings::Set('storage_htaccess_off', filter_input(INPUT_POST, 'storage_htaccess_off', FILTER_VALIDATE_BOOLEAN)); switch (filter_input(INPUT_POST, 'storage_position', FILTER_DEFAULT)) { case DUP_Settings::STORAGE_POSITION_LECAGY: $setPostion = DUP_Settings::STORAGE_POSITION_LECAGY; break; case DUP_Settings::STORAGE_POSITION_WP_CONTENT: default: $setPostion = DUP_Settings::STORAGE_POSITION_WP_CONTENT; break; } if (DUP_Settings::setStoragePosition($setPostion) != true) { $targetFolder = ($setPostion === DUP_Settings::STORAGE_POSITION_WP_CONTENT) ? DUP_Settings::getSsdirPathWpCont() : DUP_Settings::getSsdirPathLegacy(); ?> <div id="message" class="notice notice-error is-dismissible"> <p> <b><?php esc_html_e('Storage folder move problem'); ?></b> </p> <p> <?php echo sprintf(__('Duplicator can\'t change the storage folder to <i>%s</i>', 'duplicator'), esc_html($targetFolder)); ?><br> <?php echo sprintf(__('Check the parent folder permissions. ( <i>%s</i> )', 'duplicator'), esc_html(dirname($targetFolder))); ?> </p> </div> <?php } DUP_Settings::Save(); $action_updated = true; } ?> <?php $storage_position = DUP_Settings::Get('storage_position'); $storage_htaccess_off = DUP_Settings::Get('storage_htaccess_off'); ?> <form id="dup-settings-form" action="<?php echo admin_url('admin.php?page=duplicator-settings&tab=storage'); ?>" method="post"> <?php wp_nonce_field('dup_settings_save', 'dup_storage_settings_save_nonce_field', false); ?> <input type="hidden" name="action" value="save"> <input type="hidden" name="page" value="duplicator-settings"> <?php if ($action_updated) : ?> <div id="message" class="notice notice-success is-dismissible dup-wpnotice-box"><p><?php echo esc_html($action_response); ?></p></div> <?php endif; ?> <table class="form-table"> <tr valign="top"> <th scope="row"><label><?php esc_html_e("Location", 'duplicator'); ?></label></th> <td> <p> <label> <input type="radio" name="storage_position" value="<?php echo DUP_Settings::STORAGE_POSITION_LECAGY; ?>" <?php checked($storage_position === DUP_Settings::STORAGE_POSITION_LECAGY); ?> > <span class="storage_pos_fixed_label"><?php esc_html_e('Legacy Path:', 'duplicator'); ?></span> <i><?php echo DUP_Settings::getSsdirPathLegacy(); ?></i> </label> </p> <p> <label> <input type="radio" name="storage_position" value="<?php echo DUP_Settings::STORAGE_POSITION_WP_CONTENT; ?>" <?php checked($storage_position === DUP_Settings::STORAGE_POSITION_WP_CONTENT); ?> > <span class="storage_pos_fixed_label" ><?php esc_html_e('Contents Path:', 'duplicator'); ?></span> <i><?php echo DUP_Settings::getSsdirPathWpCont(); ?></i> </label> </p> <p class="description" style="max-width:800px"> <?php esc_html_e("The storage location is where all package files are stored to disk. If your host has troubles writing content to the 'Legacy Path' then use " . "the 'Contents Path'. Upon clicking the save button all files are moved to the new location and the previous path is removed.", 'duplicator'); ?><br/> <i class="fas fa-database fa-sm"></i> <span id="duplicator_advanced_storage_text" class="link-style">[<?php esc_html_e("More Advanced Storage Options...", 'duplicator'); ?>]</span> </p> </td> </tr> <tr valign="top"> <th scope="row"><label><?php esc_html_e("Apache .htaccess", 'duplicator'); ?></label></th> <td> <input type="checkbox" name="storage_htaccess_off" id="storage_htaccess_off" <?php echo ($storage_htaccess_off) ? 'checked="checked"' : ''; ?> /> <label for="storage_htaccess_off"><?php esc_html_e("Disable .htaccess file in storage directory", 'duplicator') ?> </label> <p class="description"> <?php esc_html_e("When checked this setting will prevent Duplicator from laying down an .htaccess file in the storage location above.", 'duplicator'); echo '<br/>'; esc_html_e("Only disable this option if issues occur when downloading either the installer/archive files.", 'duplicator'); ?> </p> </td> </tr> </table> <p class="submit" style="margin: 20px 0px 0xp 5px;"> <br/> <input type="submit" name="submit" id="submit" class="button-primary" value="<?php esc_attr_e("Save Storage Settings", 'duplicator') ?>" style="display: inline-block;" /> </p> </form> <br/> </div> <!-- ========================================== THICK-BOX DIALOGS: --> <?php function dup_lite_storage_advanced_pro_content() { ob_start(); ?> <div style="text-align: center"> <img src="<?php echo esc_url(DUPLICATOR_PLUGIN_URL."assets/img/logo-dpro-300x50.png"); ?>" style="height:50px; width:250px" /><br/> <?php esc_html_e('Store & Automate to Multiple Endpoints', 'duplicator'); echo '<br/>'; esc_html_e('with Duplicator Pro', 'duplicator'); ?> <div style="text-align: left; margin:auto; width:175px"> <ul> <li><i class="fab fa-amazon"></i> <?php esc_html_e('Amazon S3', 'duplicator'); ?></li> <li><i class="fab fa-dropbox"></i> <?php esc_html_e(' Dropbox', 'duplicator'); ?></li> <li><i class="fab fa-google-drive"></i> <?php esc_html_e('Google Drive', 'duplicator'); ?></li> <li><i class="fa fa-cloud fa-sm"></i> <?php esc_html_e('One Drive', 'duplicator'); ?></li> <li><i class="fa fa-upload"></i> <?php esc_html_e('FTP & SFTP', 'duplicator'); ?></li> <li><i class="far fa-folder-open"></i> <?php esc_html_e('Custom Directory', 'duplicator'); ?></li> </ul> </div> <i> <?php esc_html_e('Set up one-time storage locations and automatically', 'duplicator'); ?><br> <?php esc_html_e('push the package to your destination.', 'duplicator'); ?> </i> </div> <p style="text-align: center"> <a href="https://snapcreek.com/duplicator/?utm_source=duplicator_free&utm_medium=wordpress_plugin&utm_content=free_settings_storage_popup&utm_campaign=duplicator_pro" target="_blank" class="button button-primary button-large dup-check-it-btn" > <?php esc_html_e('Learn More', 'duplicator'); ?> </a> </p> <?php return ob_get_clean(); } $storageAlert = new DUP_UI_Dialog(); $storageAlert->title = __('Advanced Storage', 'duplicator'); $storageAlert->height = 525; $storageAlert->width = 400; $storageAlert->okText = esc_html__('Close', 'duplicator'); $storageAlert->message = dup_lite_storage_advanced_pro_content(); $storageAlert->initAlert(); ?> <script> jQuery(document).ready(function ($) { $("#duplicator_advanced_storage_text").click(function () { <?php $storageAlert->showAlert(); ?> }); }); </script>
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
DownloadConfController.php
945 bytes
0644
JsonSerializable.php
577 bytes
0644
LimitStream.php
4209 bytes
0644
about-info.php
9322 bytes
0644
class-metabox-formatter.php
12602 bytes
0644
class-sitemaps-admin.php
3665 bytes
0644
class-wpseo-statistics.php
1443 bytes
0644
class.pack.database-20260705061628.php
30838 bytes
0644
class.pack.database.php
30838 bytes
0644
class.snaplib.u.net.php
1831 bytes
0644
controller-20260622072903.php
2441 bytes
0644
controller.php
2441 bytes
0644
ctrl.package.php
17073 bytes
0644
define.php
4567 bytes
0644
duplicator.php
1781 bytes
0644
elFinderPlugin.php
3331 bytes
0644
elFinderVolumeLocalFileSystem.class-20260623050500-20260705222809.php
48544 bytes
0644
elFinderVolumeLocalFileSystem.class-20260623050500-20260706092353.php
48544 bytes
0644
elFinderVolumeLocalFileSystem.class-20260623050500.php
48544 bytes
0644
elFinderVolumeLocalFileSystem.class.php
48544 bytes
0644
exceptions-20260707094038.php
708 bytes
0644
exceptions.php
708 bytes
0644
flexible-widget.php
11167 bytes
0644
general.php
18157 bytes
0644
gopro.php
16510 bytes
0644
inc.validator.php
5401 bytes
0644
index.php
14 bytes
0644
license.php
1978 bytes
0644
loco.php
5626 bytes
0644
loco.xml
657 bytes
0644
manager.php
14659 bytes
0644
meta-fields-presenter.php
1600 bytes
0644
module.php
1297 bytes
0644
packages.php
24769 bytes
0644
quick-edit-handler-1650.js
1848 bytes
0644
request-methods-header.php
1127 bytes
0644
schedule.php
1086 bytes
0644
setup.php
2699 bytes
0644
storage.php
8845 bytes
0644
uninstall.php
4401 bytes
0644
N4ST4R_ID | Naxtarrr