Download all files FTP

This commit is contained in:
2026-04-13 15:50:16 +02:00
parent d8382136b2
commit cb5b386424
6906 changed files with 1956223 additions and 40713 deletions

View File

@@ -0,0 +1,10 @@
# Grant access to webp-on-demand.php and webp-realizer.php
<FilesMatch "(webp-on-demand\.php|webp-realizer\.php|ping\.php|ping\.txt)$">
<IfModule !mod_authz_core.c>
Order deny,allow
Allow from all
</IfModule>
<IfModule mod_authz_core.c>
Require all granted
</IfModule>
</FilesMatch>

View File

@@ -0,0 +1,12 @@
<?php
define('WOD_DIR', __DIR__);
// setLocale - for converting files with non ascii characters (#406)
setlocale(LC_CTYPE, "C.UTF-8");
function webpexpress_autoloader($class) {
if (strpos($class, 'WebPExpress\\') === 0) {
require_once WOD_DIR . '/../lib/classes/' . substr($class, 12) . '.php';
}
}
spl_autoload_register('webpexpress_autoloader');

View File

@@ -0,0 +1 @@
<?php echo 'pong';

View File

@@ -0,0 +1 @@
pong

View File

@@ -0,0 +1,8 @@
<?php
namespace WebPExpress;
include 'autoloader.php';
WebPOnDemand::preventDirectAccess('webp-on-demand.php');
WebPOnDemand::processRequest();

View File

@@ -0,0 +1,8 @@
<?php
namespace WebPExpress;
include 'autoloader.php';
WebPRealizer::preventDirectAccess('webp-realizer.php');
WebPRealizer::processRequest();