Submit
Path:
~
/
home
/
getwphos
/
www
/
pioneerasphalt
/
wp-content
/
plugins
/
qode-optimizer
/
classes
/
File Content:
class-qode-optimizer-web-server-apache.php
<?php /** * Implementation of apache web server procedures * * @package Qode */ if ( ! defined( 'ABSPATH' ) ) { // Exit if accessed directly. exit; } require_once QODE_OPTIMIZER_CLASSES_FOLDER_PATH . '/class-qode-optimizer-web-server.php'; class Qode_Optimizer_Web_Server_Apache extends Qode_Optimizer_Web_Server { /** * Web server type */ const WEB_SERVER_TYPE = 'Apache'; /** * Htaccess rules * * @var array $htaccess_rules */ protected $htaccess_rules = array( '<IfModule mod_rewrite.c>', 'RewriteEngine On', 'RewriteCond %{HTTP_ACCEPT} image/webp', 'RewriteCond %{REQUEST_FILENAME} (.*)\.(jpe?g|png|gif)$', 'RewriteCond %{REQUEST_FILENAME}.webp -f', 'RewriteCond %{QUERY_STRING} !type=original', 'RewriteRule (.+)\.(jpe?g|png|gif)$ %{REQUEST_URI}.webp [T=image/webp,L]', '</IfModule>', '<IfModule mod_headers.c>', '<FilesMatch "\.(jpe?g|png|gif)$">', 'Header append Vary Accept', '</FilesMatch>', '</IfModule>', 'AddType image/webp .webp', ); /** * Alternative htaccess rules * * @var array $alternative_htaccess_rules */ protected $alternative_htaccess_rules = array(); }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
class-qode-optimizer-backup.php
20426 bytes
0644
class-qode-optimizer-bulk.php
31406 bytes
0644
class-qode-optimizer-db.php
8092 bytes
0644
class-qode-optimizer-filesystem.php
12549 bytes
0644
class-qode-optimizer-general.php
2952 bytes
0644
class-qode-optimizer-gif.php
18281 bytes
0644
class-qode-optimizer-image-factory.php
1458 bytes
0644
class-qode-optimizer-image.php
121107 bytes
0644
class-qode-optimizer-images.php
11898 bytes
0644
class-qode-optimizer-issue.php
9181 bytes
0644
class-qode-optimizer-jpeg.php
20101 bytes
0644
class-qode-optimizer-log.php
6121 bytes
0644
class-qode-optimizer-media.php
46101 bytes
0644
class-qode-optimizer-options.php
19112 bytes
0644
class-qode-optimizer-output.php
1413 bytes
0644
class-qode-optimizer-parser.php
19798 bytes
0644
class-qode-optimizer-png.php
25397 bytes
0644
class-qode-optimizer-support.php
22006 bytes
0644
class-qode-optimizer-svg.php
5759 bytes
0644
class-qode-optimizer-utility.php
27269 bytes
0644
class-qode-optimizer-web-server-apache.php
1144 bytes
0644
class-qode-optimizer-web-server-nginx.php
631 bytes
0644
class-qode-optimizer-web-server.php
4147 bytes
0644
N4ST4R_ID | Naxtarrr