X7ROOT File Manager
Current Path:
/var/softaculous/sitepad/editor/site-data/plugins/speedycache-pro/main
var
/
softaculous
/
sitepad
/
editor
/
site-data
/
plugins
/
speedycache-pro
/
main
/
📁
..
📄
admin.php
(20.44 KB)
📄
bloat.php
(10.18 KB)
📄
cli.php
(1.63 KB)
📄
commoncss.php
(3.65 KB)
📄
criticalcss.php
(9.54 KB)
📄
db.php
(1.99 KB)
📄
enhanced.php
(47.3 KB)
📄
googlefonts.php
(5.57 KB)
📄
image.php
(70.96 KB)
📄
index.html
(91 B)
📄
lazyload.php
(14.7 KB)
📄
license.php
(4.12 KB)
📄
logs.php
(7.42 KB)
📄
metaboxpro.php
(1.97 KB)
📄
mobile.php
(1.57 KB)
📄
object-cache-lib.php
(10.86 KB)
📄
objectcache.php
(8.17 KB)
📄
plugin-update-checker.php
(52.86 KB)
📄
premium.php
(423 B)
📄
prooptimizations.php
(2.12 KB)
📄
renderblocking.php
(36.8 KB)
📄
settingspage.php
(33.71 KB)
📄
statistics.php
(4.25 KB)
📄
unusedcss.php
(7.45 KB)
📄
youtube.html
(2.29 KB)
Editing: license.php
<?php if(!defined('ABSPATH')){ die('HACKING ATTEMPT!'); } include_once SPEEDYCACHE_DIR . '/main/settings.php'; function speedycache_license_page(){ global $speedycache; if(isset($_REQUEST['save_speedycache_license'])){ speedycache_license(); } speedycache_add_javascript(); settings_errors('speedycache-notice'); ?> <div class="speedycache-setting-content"> <div class="speedycache-tab-group" style="width:78%"> <table class="wp-list-table fixed striped users speedycache-license-table" cellspacing="1" border="0" width="78%" cellpadding="10" align="center"> <tbody> <tr> <th align="left" width="25%"><?php esc_html_e('SpeedyCache Version', 'speedycache'); ?></th> <td><?php echo SPEEDYCACHE_PRO_VERSION.(defined('SPEEDYCACHE_PRO') ? ' (Pro Version)' : ''); ?> </td> </tr> <tr> <th align="left" valign="top"><?php esc_html_e('SpeedyCache License', 'speedycache'); ?></th> <td align="left"> <form method="post" action=""> <span style="color:var(--speedycache-red)"> <?php echo (defined('SPEEDYCACHE_PRO') && empty($speedycache->license) ? '<span style="color:var(--speedycache-red)">Unlicensed</span> ' : '')?> </span> <input type="hidden" name="speedycache_license_nonce" value="<?php echo wp_create_nonce('speedycache_license');?>"/> <input type="text" name="speedycache_license" value="<?php echo (empty($speedycache->license) ? empty($_POST['speedycache_license']) ? '' : speedycache_optpost('speedycache_license') : $speedycache->license['license'])?>" size="30" placeholder="e.g. SPDFY-11111-22222-33333-44444" style="width:300px;"> <input name="save_speedycache_license" class="speedycache-btn speedycache-btn-primary" value="Update License" type="submit"> </form> <?php if(!empty($speedycache->license)){ $expires = $speedycache->license['expires']; $expires = substr($expires, 0, 4).'/'.substr($expires, 4, 2).'/'.substr($expires, 6); echo '<div style="margin-top:10px;">License Status : '.(empty($speedycache->license['status_txt']) ? 'N.A.' : wp_kses_post($speedycache->license['status_txt'])).' '.($speedycache->license['expires'] <= date('Ymd') ? 'License Expires : <span style="color:var(--speedycache-red)">'.esc_attr($expires).'</span>' : (empty($speedycache->license['has_plid']) ? 'License Expires : ' . esc_html($expires) : '')).' </div>'; }?> </td> </tr> <tr> <th align="left">URL</th> <td><?php echo get_site_url(); ?></td> </tr> <tr> <th align="left">Path</th> <td><?php echo ABSPATH; ?></td> </tr> <tr> <th align="left">Server's IP Address</th> <td><?php echo esc_html($_SERVER['SERVER_ADDR']); ?></td> </tr> <tr> <th align="left">.htaccess is writable</th> <td><?php echo (is_writable(ABSPATH.'/.htaccess') ? '<span style="color:var(--speedycache-red)">Yes</span>' : '<span style="color:green">No</span>');?></td> </tr> </tbody> </table> </div> <?php speedycache_promotion_tmpl(); ?> </div> <?php speedycache_page_footer(true); } function speedycache_license(){ global $speedycache, $lic_resp; if(!wp_verify_nonce($_POST['speedycache_license_nonce'], 'speedycache_license')){ speedycache_notify(array(__('Security Check Failed', 'speedycache'),'error')); return; } $license = sanitize_key($_POST['speedycache_license']); if(empty($license)){ speedycache_notify(array(__('The license key was not submitted', 'speedycache'),'error')); return; } speedycache_pro_load_license($license); if(!is_array($lic_resp)){ speedycache_notify(array(__('The response was malformed<br>'.var_export($lic_resp, true), 'speedycache'), 'error')); return; } $json = json_decode($lic_resp['body'], true); // Save the License if(empty($json['license'])){ speedycache_notify(array(__('The license key is invalid', 'speedycache'), 'error')); return; } }
Upload File
Create Folder