[08/06/2024] Initial commit
50
domokits/web/.htaccess
Normal file
@@ -0,0 +1,50 @@
|
||||
Options +FollowSymlinks -Indexes
|
||||
|
||||
AddDefaultCharset UTF-8
|
||||
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
|
||||
# SEO, remove the subdomain www in URL
|
||||
# Exemple : http://www.yourdomain.com/contact redirect 301 to http://yourdomain.com/contact
|
||||
# To activate uncomment the following two lines
|
||||
#RewriteCond %{HTTP_HOST} ^www.yourdomain.com$
|
||||
#RewriteRule ^(.*) http://yourdomain.com/$1 [QSA,L,R=301]
|
||||
|
||||
# SEO, add the subdomain www in URL
|
||||
# Exemple : http://yourdomain.com/contact redirect 301 to http://www.yourdomain.com/contact
|
||||
# To activate uncomment the following two lines
|
||||
#RewriteCond %{HTTP_HOST} ^yourdomain.com$
|
||||
#RewriteRule ^(.*) http://www.yourdomain.com/$1 [QSA,L,R=301]
|
||||
|
||||
# SEO, to avoid duplicate content with index.php in url
|
||||
# Exemple : http://www.yourdomain.com/index.php/contact redirect 301 to http://www.yourdomain.com/contact
|
||||
RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC]
|
||||
RewriteRule (.?)index\.php/(.*) /$1$2 [R=301,NE,L]
|
||||
|
||||
# If thelia is installed in a subdirectory (e.g., thelia2)
|
||||
# define the RewriteBase below to get a proper URL rewriting
|
||||
# RewriteBase /thelia2
|
||||
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
|
||||
RewriteRule ^(.*)$ index.php [QSA,L]
|
||||
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization},last]
|
||||
</IfModule>
|
||||
|
||||
<IfModule mod_expires.c>
|
||||
ExpiresActive on
|
||||
ExpiresByType image/gif "access plus 1 month"
|
||||
ExpiresByType image/jpeg "access plus 1 month"
|
||||
ExpiresByType image/png "access plus 1 month"
|
||||
ExpiresByType image/x-icon "access plus 1 month"
|
||||
ExpiresByType application/x-javascript "access plus 1 month"
|
||||
ExpiresByType application/javascript "access plus 1 month"
|
||||
ExpiresByType image/webp "access plus 1 month"
|
||||
ExpiresByType image/svg+xml "access plus 1 month"
|
||||
ExpiresByType text/css "access plus 1 month"
|
||||
<FilesMatch "\.(ttf|otf|eot|svg|woff|woff2)$" >
|
||||
ExpiresDefault "access plus 1 month"
|
||||
</FilesMatch>
|
||||
</IfModule>
|
||||
BIN
domokits/web/favicon.ico
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
34
domokits/web/index.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/*************************************************************************************/
|
||||
/* This file is part of the Thelia package. */
|
||||
/* */
|
||||
/* Copyright (c) OpenStudio */
|
||||
/* email : dev@thelia.net */
|
||||
/* web : http://www.thelia.net */
|
||||
/* */
|
||||
/* For the full copyright and license information, please view the LICENSE.txt */
|
||||
/* file that was distributed with this source code. */
|
||||
/*************************************************************************************/
|
||||
|
||||
use Symfony\Component\Dotenv\Dotenv;
|
||||
use Symfony\Component\ErrorHandler\Debug;
|
||||
use Thelia\Core\HttpFoundation\Request;
|
||||
|
||||
//use Symfony\Component\DependencyInjection;
|
||||
|
||||
$env = 'prod';
|
||||
$loader = require __DIR__ . '/../bootstrap.php';
|
||||
|
||||
(new Dotenv())->bootEnv(dirname(__DIR__).'/.env');
|
||||
|
||||
if ($_SERVER['APP_DEBUG']) {
|
||||
umask(0000);
|
||||
|
||||
Debug::enable();
|
||||
}
|
||||
|
||||
$thelia = new App\Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
|
||||
$request = Request::createFromGlobals();
|
||||
$response = $thelia->handle($request);
|
||||
$response->send();
|
||||
$thelia->terminate($request, $response);
|
||||
45
domokits/web/index_dev.php
Normal file
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
/*************************************************************************************/
|
||||
/* This file is part of the Thelia package. */
|
||||
/* */
|
||||
/* Copyright (c) OpenStudio */
|
||||
/* email : dev@thelia.net */
|
||||
/* web : http://www.thelia.net */
|
||||
/* */
|
||||
/* For the full copyright and license information, please view the LICENSE.txt */
|
||||
/* file that was distributed with this source code. */
|
||||
/*************************************************************************************/
|
||||
|
||||
use Thelia\Core\HttpFoundation\Request;
|
||||
use Symfony\Component\Dotenv\Dotenv;
|
||||
use Symfony\Component\ErrorHandler\Debug;
|
||||
|
||||
$env = 'dev';
|
||||
require __DIR__ . '/../bootstrap.php';
|
||||
|
||||
|
||||
$_SERVER['APP_ENV'] = 'dev';
|
||||
$_SERVER['APP_DEBUG'] = '1';
|
||||
|
||||
(new Dotenv())->loadEnv(dirname(__DIR__).'/.env');
|
||||
|
||||
$trustedIp = array_filter(
|
||||
explode(',', $_SERVER['DEBUG_TRUSTED_IP'] ?? ''),
|
||||
static function ($ip): bool {
|
||||
return filter_var($ip, \FILTER_VALIDATE_IP);
|
||||
}
|
||||
);
|
||||
|
||||
if (false === in_array(Request::createFromGlobals()->getClientIp(), $trustedIp)) {
|
||||
header('HTTP/1.0 403 Forbidden');
|
||||
exit('You are not allowed to access this file.');
|
||||
}
|
||||
|
||||
umask(0000);
|
||||
Debug::enable();
|
||||
|
||||
$thelia = new App\Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
|
||||
$request = Request::createFromGlobals();
|
||||
$response = $thelia->handle($request);
|
||||
$response->send();
|
||||
$thelia->terminate($request, $response);
|
||||
BIN
domokits/web/media/thumbs/0-DOMAINDEVERCHANT-TSF-12.jpg
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
domokits/web/media/thumbs/149908-9542156.jpg
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
domokits/web/media/thumbs/3d/hotellerie/fondhotellerie.jpg
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
domokits/web/media/thumbs/Amazon/MaxInBox16.png
Normal file
|
After Width: | Height: | Size: 8.9 KiB |
BIN
domokits/web/media/thumbs/Amazon/MaxInBox8.png
Normal file
|
After Width: | Height: | Size: 8.5 KiB |
BIN
domokits/web/media/thumbs/Amazon/Montage portable.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
domokits/web/media/thumbs/Amazon/Photo de base.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
domokits/web/media/thumbs/Amazon/Schéma flouté.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
domokits/web/media/thumbs/Amazon/Z41 paysage.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
domokits/web/media/thumbs/Amazon/Zennio iPhone.jpg
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
domokits/web/media/thumbs/Amazon/Zennio iphone noir.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
domokits/web/media/thumbs/CJC/CJC-colours 2023.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 13 KiB |
BIN
domokits/web/media/thumbs/Capture.PNG
Normal file
|
After Width: | Height: | Size: 7.3 KiB |
BIN
domokits/web/media/thumbs/DSC_4105111.jpg
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
BIN
domokits/web/media/thumbs/JUNG_KRMTSD_LS990_Alpinweiss_bX5Fs.jpg
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 6.5 KiB |
BIN
domokits/web/media/thumbs/Obalia bassin Exterieur.jpg
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
domokits/web/media/thumbs/Slide Mobotix/Cadre.png
Normal file
|
After Width: | Height: | Size: 8.9 KiB |
BIN
domokits/web/media/thumbs/Slide Mobotix/Cadregris.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
domokits/web/media/thumbs/Slide Mobotix/Carte 1.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
domokits/web/media/thumbs/Slide Mobotix/Carte 2.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
domokits/web/media/thumbs/Slide Mobotix/Carte 3.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
domokits/web/media/thumbs/Slide Mobotix/Carte 4.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
domokits/web/media/thumbs/Slide Mobotix/Carte 5.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
domokits/web/media/thumbs/Slide Mobotix/Carte M.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
domokits/web/media/thumbs/Slide Mobotix/mobotix.png
Normal file
|
After Width: | Height: | Size: 9.7 KiB |
BIN
domokits/web/media/thumbs/Slide Mobotix/rfid.png
Normal file
|
After Width: | Height: | Size: 7.3 KiB |
BIN
domokits/web/media/thumbs/Slide Mobotix/rfidgris.png
Normal file
|
After Width: | Height: | Size: 7.9 KiB |
BIN
domokits/web/media/thumbs/Slide Mobotix/t25.png
Normal file
|
After Width: | Height: | Size: 6.4 KiB |
BIN
domokits/web/media/thumbs/Slide Mobotix/t25gris.png
Normal file
|
After Width: | Height: | Size: 8.0 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 3.7 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
BIN
domokits/web/media/thumbs/ZENNIO_Z41noirgrisblanc.jpg
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
BIN
domokits/web/media/thumbs/ZenCom(1).png
Normal file
|
After Width: | Height: | Size: 6.6 KiB |
BIN
domokits/web/media/thumbs/ZenCom.png
Normal file
|
After Width: | Height: | Size: 6.6 KiB |
BIN
domokits/web/media/thumbs/Zennio remote.PNG
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
domokits/web/media/thumbs/arrosage golf.jpg
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
domokits/web/media/thumbs/bouton appel secours.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
domokits/web/media/thumbs/bouton.jpg
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
domokits/web/media/thumbs/carte.jpg
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
domokits/web/media/thumbs/chambre hotel.jpg
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
domokits/web/media/thumbs/cloison-amovible-H5T-bord-a-bord.jpg
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
domokits/web/media/thumbs/control_touchpad4_black_stream_1.png
Normal file
|
After Width: | Height: | Size: 5.4 KiB |
|
After Width: | Height: | Size: 7.7 KiB |
BIN
domokits/web/media/thumbs/dessin.png
Normal file
|
After Width: | Height: | Size: 7.4 KiB |
BIN
domokits/web/media/thumbs/detecteur de fumée 2.jpg
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
domokits/web/media/thumbs/detecteur de fumée.jpg
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
BIN
domokits/web/media/thumbs/domotique maison.jpg
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
BIN
domokits/web/media/thumbs/domotique.jpg
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
domokits/web/media/thumbs/eclairage maison.jpg
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
domokits/web/media/thumbs/ecocentry 2.PNG
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
domokits/web/media/thumbs/ecocentry 4.png
Normal file
|
After Width: | Height: | Size: 8.5 KiB |
BIN
domokits/web/media/thumbs/ecocentry.jpg
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
domokits/web/media/thumbs/ecocentry3.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
domokits/web/media/thumbs/ecransupervisionhotel.png
Normal file
|
After Width: | Height: | Size: 5.5 KiB |
BIN
domokits/web/media/thumbs/electricien.jpg
Normal file
|
After Width: | Height: | Size: 4.6 KiB |
BIN
domokits/web/media/thumbs/equipe domotique.jpg
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
domokits/web/media/thumbs/hotel mer.jpg
Normal file
|
After Width: | Height: | Size: 4.0 KiB |
|
After Width: | Height: | Size: 6.5 KiB |
|
After Width: | Height: | Size: 8.2 KiB |
|
After Width: | Height: | Size: 8.1 KiB |
|
After Width: | Height: | Size: 8.2 KiB |
|
After Width: | Height: | Size: 7.7 KiB |
|
After Width: | Height: | Size: 7.4 KiB |
|
After Width: | Height: | Size: 7.5 KiB |
|
After Width: | Height: | Size: 8.4 KiB |
|
After Width: | Height: | Size: 6.4 KiB |
|
After Width: | Height: | Size: 5.1 KiB |
|
After Width: | Height: | Size: 9.3 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 8.3 KiB |
|
After Width: | Height: | Size: 8.8 KiB |
|
After Width: | Height: | Size: 9.2 KiB |
|
After Width: | Height: | Size: 7.7 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 4.0 KiB |
|
After Width: | Height: | Size: 7.1 KiB |
|
After Width: | Height: | Size: 6.9 KiB |
|
After Width: | Height: | Size: 8.6 KiB |
|
After Width: | Height: | Size: 8.3 KiB |
|
After Width: | Height: | Size: 8.0 KiB |
|
After Width: | Height: | Size: 7.2 KiB |
BIN
domokits/web/media/thumbs/industrie chaudiere.jpg
Normal file
|
After Width: | Height: | Size: 4.1 KiB |
BIN
domokits/web/media/thumbs/industrie ecosentry.jpg
Normal file
|
After Width: | Height: | Size: 4.0 KiB |
BIN
domokits/web/media/thumbs/inter couleur.jpg
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
domokits/web/media/thumbs/inter/jung/InterJungLumiere.png
Normal file
|
After Width: | Height: | Size: 7.9 KiB |
BIN
domokits/web/media/thumbs/inter/jung/InterJungPoisson.png
Normal file
|
After Width: | Height: | Size: 9.1 KiB |
BIN
domokits/web/media/thumbs/inter/jung/InterJungTerasseVolet.png
Normal file
|
After Width: | Height: | Size: 8.2 KiB |
|
After Width: | Height: | Size: 781 B |
BIN
domokits/web/media/thumbs/inter/jung/boutonblancdessinsnoirs.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 3.9 KiB |