first commit
This commit is contained in:
85
.htaccess
Normal file
85
.htaccess
Normal file
@@ -0,0 +1,85 @@
|
||||
# ~~startcookiesplus~~ Cookies Plus module - Do not remove this comment
|
||||
<IfModule LiteSpeed>
|
||||
RewriteRule .* - [E=Cache-Vary:cookiesplus]
|
||||
</IfModule>
|
||||
# ~~endcookiesplus~~ Cookies Plus module - Do not remove this comment
|
||||
|
||||
# ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again
|
||||
# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution
|
||||
# https://www.prestashop.com - https://www.prestashop.com/forums
|
||||
|
||||
<IfModule mod_rewrite.c>
|
||||
<IfModule mod_env.c>
|
||||
SetEnv HTTP_MOD_REWRITE On
|
||||
</IfModule>
|
||||
|
||||
RewriteEngine on
|
||||
|
||||
|
||||
#Domain: masimmo.pl.pagedev.pl
|
||||
RewriteRule . - [E=REWRITEBASE:/]
|
||||
RewriteRule ^api(?:/(.*))?$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]
|
||||
RewriteRule ^upload/.+$ %{ENV:REWRITEBASE}index.php [QSA,L]
|
||||
|
||||
# Images
|
||||
RewriteCond %{HTTP_HOST} ^masimmo.pl.pagedev.pl$
|
||||
RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L]
|
||||
RewriteCond %{HTTP_HOST} ^masimmo.pl.pagedev.pl$
|
||||
RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L]
|
||||
RewriteCond %{HTTP_HOST} ^masimmo.pl.pagedev.pl$
|
||||
RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L]
|
||||
RewriteCond %{HTTP_HOST} ^masimmo.pl.pagedev.pl$
|
||||
RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L]
|
||||
RewriteCond %{HTTP_HOST} ^masimmo.pl.pagedev.pl$
|
||||
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L]
|
||||
RewriteCond %{HTTP_HOST} ^masimmo.pl.pagedev.pl$
|
||||
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L]
|
||||
RewriteCond %{HTTP_HOST} ^masimmo.pl.pagedev.pl$
|
||||
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L]
|
||||
RewriteCond %{HTTP_HOST} ^masimmo.pl.pagedev.pl$
|
||||
RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L]
|
||||
RewriteCond %{HTTP_HOST} ^masimmo.pl.pagedev.pl$
|
||||
RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L]
|
||||
# AlphaImageLoader for IE and fancybox
|
||||
RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L]
|
||||
|
||||
# Dispatcher
|
||||
RewriteCond %{REQUEST_FILENAME} -s [OR]
|
||||
RewriteCond %{REQUEST_FILENAME} -l [OR]
|
||||
RewriteCond %{REQUEST_FILENAME} -d
|
||||
RewriteRule ^.*$ - [NC,L]
|
||||
RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L]
|
||||
</IfModule>
|
||||
|
||||
AddType application/vnd.ms-fontobject .eot
|
||||
AddType font/ttf .ttf
|
||||
AddType font/otf .otf
|
||||
AddType application/font-woff .woff
|
||||
AddType font/woff2 .woff2
|
||||
<IfModule mod_headers.c>
|
||||
<FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|svg)$">
|
||||
Header set Access-Control-Allow-Origin "*"
|
||||
</FilesMatch>
|
||||
|
||||
<FilesMatch "\.pdf$">
|
||||
Header set Content-Disposition "Attachment"
|
||||
Header set X-Content-Type-Options "nosniff"
|
||||
</FilesMatch>
|
||||
</IfModule>
|
||||
|
||||
<Files composer.lock>
|
||||
# Apache 2.2
|
||||
<IfModule !mod_authz_core.c>
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
</IfModule>
|
||||
|
||||
# Apache 2.4
|
||||
<IfModule mod_authz_core.c>
|
||||
Require all denied
|
||||
</IfModule>
|
||||
</Files>
|
||||
#If rewrite mod isn't enabled
|
||||
ErrorDocument 404 /index.php?controller=404
|
||||
|
||||
# ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again
|
||||
17
.vscode/ftp-kr.json
vendored
Normal file
17
.vscode/ftp-kr.json
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"host": "dedyk8.cyber-folks.pl",
|
||||
"username": "www@masimmo.pl",
|
||||
"password": "(Q-ot*a-kx!3ZeK3",
|
||||
"remotePath": "/public_html",
|
||||
"protocol": "ftp",
|
||||
"port": 0,
|
||||
"fileNameEncoding": "utf8",
|
||||
"autoUpload": true,
|
||||
"autoDelete": false,
|
||||
"autoDownload": false,
|
||||
"ignoreRemoteModification": true,
|
||||
"ignore": [
|
||||
".git",
|
||||
"/.vscode"
|
||||
]
|
||||
}
|
||||
171
.vscode/ftp-kr.sync.cache.json
vendored
Normal file
171
.vscode/ftp-kr.sync.cache.json
vendored
Normal file
@@ -0,0 +1,171 @@
|
||||
{
|
||||
"ftp://dedyk8.cyber-folks.pl@www@masimmo.pl": {
|
||||
"public_html": {
|
||||
"admin264x7t1sv": {},
|
||||
"app": {},
|
||||
"autoload.php": {
|
||||
"type": "-",
|
||||
"size": 1316,
|
||||
"lmtime": 0,
|
||||
"modified": false
|
||||
},
|
||||
"bck": {},
|
||||
"bin": {},
|
||||
"bridge_bW9IlgH3.php": {
|
||||
"type": "-",
|
||||
"size": 171555,
|
||||
"lmtime": 0,
|
||||
"modified": false
|
||||
},
|
||||
"cache": {},
|
||||
"-cart_default.jpg": {
|
||||
"type": "-",
|
||||
"size": 3683,
|
||||
"lmtime": 0,
|
||||
"modified": false
|
||||
},
|
||||
"classes": {},
|
||||
"composer.lock": {
|
||||
"type": "-",
|
||||
"size": 429111,
|
||||
"lmtime": 0,
|
||||
"modified": false
|
||||
},
|
||||
"config": {},
|
||||
"controllers": {},
|
||||
"docs": {},
|
||||
"download": {},
|
||||
"error500.html": {
|
||||
"type": "-",
|
||||
"size": 2506,
|
||||
"lmtime": 0,
|
||||
"modified": false
|
||||
},
|
||||
"fileType": {
|
||||
"type": "-",
|
||||
"size": 3,
|
||||
"lmtime": 0,
|
||||
"modified": false
|
||||
},
|
||||
"-home_default.jpg": {
|
||||
"type": "-",
|
||||
"size": 9320,
|
||||
"lmtime": 0,
|
||||
"modified": false
|
||||
},
|
||||
".htaccess": {
|
||||
"type": "-",
|
||||
"size": 3676,
|
||||
"lmtime": 1732025220000,
|
||||
"modified": false
|
||||
},
|
||||
"images.inc.php": {
|
||||
"type": "-",
|
||||
"size": 4830,
|
||||
"lmtime": 0,
|
||||
"modified": false
|
||||
},
|
||||
"img": {},
|
||||
"import-drewmax.php": {
|
||||
"type": "-",
|
||||
"size": 10919,
|
||||
"lmtime": 0,
|
||||
"modified": false
|
||||
},
|
||||
"index.php": {
|
||||
"type": "-",
|
||||
"size": 1169,
|
||||
"lmtime": 1732014720000,
|
||||
"modified": false
|
||||
},
|
||||
"init.php": {
|
||||
"type": "-",
|
||||
"size": 1256,
|
||||
"lmtime": 0,
|
||||
"modified": false
|
||||
},
|
||||
"INSTALL.txt": {
|
||||
"type": "-",
|
||||
"size": 5127,
|
||||
"lmtime": 0,
|
||||
"modified": false
|
||||
},
|
||||
".jpg": {
|
||||
"type": "-",
|
||||
"size": 626142,
|
||||
"lmtime": 0,
|
||||
"modified": false
|
||||
},
|
||||
"js": {},
|
||||
"komplet-produktow-3.xml": {
|
||||
"type": "-",
|
||||
"size": 32163016,
|
||||
"lmtime": 0,
|
||||
"modified": false
|
||||
},
|
||||
"-large_default.jpg": {
|
||||
"type": "-",
|
||||
"size": 64102,
|
||||
"lmtime": 0,
|
||||
"modified": false
|
||||
},
|
||||
"LICENSES": {
|
||||
"type": "-",
|
||||
"size": 186018,
|
||||
"lmtime": 0,
|
||||
"modified": false
|
||||
},
|
||||
"localization": {},
|
||||
"mails": {},
|
||||
"Makefile": {
|
||||
"type": "-",
|
||||
"size": 88,
|
||||
"lmtime": 0,
|
||||
"modified": false
|
||||
},
|
||||
"-medium_default.jpg": {
|
||||
"type": "-",
|
||||
"size": 23382,
|
||||
"lmtime": 0,
|
||||
"modified": false
|
||||
},
|
||||
"modules": {},
|
||||
"override": {},
|
||||
"pdf": {},
|
||||
"phpstan.neon.dist": {
|
||||
"type": "-",
|
||||
"size": 1580,
|
||||
"lmtime": 0,
|
||||
"modified": false
|
||||
},
|
||||
"robots.txt": {
|
||||
"type": "-",
|
||||
"size": 3154,
|
||||
"lmtime": 0,
|
||||
"modified": false
|
||||
},
|
||||
"-small_default.jpg": {
|
||||
"type": "-",
|
||||
"size": 2570,
|
||||
"lmtime": 0,
|
||||
"modified": false
|
||||
},
|
||||
"src": {},
|
||||
"themes": {},
|
||||
"tmp": {},
|
||||
"tools": {},
|
||||
"translations": {},
|
||||
"upload": {},
|
||||
"var": {},
|
||||
"vendor": {},
|
||||
"webservice": {},
|
||||
"XMLFeed.cache": {
|
||||
"type": "-",
|
||||
"size": 3172,
|
||||
"lmtime": 0,
|
||||
"modified": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"$version": 1
|
||||
}
|
||||
12
.vscode/sftp.json
vendored
Normal file
12
.vscode/sftp.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "dedyk8.cyber-folks.pl",
|
||||
"host": "dedyk8.cyber-folks.pl",
|
||||
"protocol": "ftp",
|
||||
"port": 21,
|
||||
"username": "www@masimmo.pl",
|
||||
"password": "(Q-ot*a-kx!3ZeK3",
|
||||
"remotePath": "/public_html",
|
||||
"uploadOnSave": false,
|
||||
"useTempFile": false,
|
||||
"openSsh": false
|
||||
}
|
||||
28
index.php
Normal file
28
index.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
|
||||
require dirname(__FILE__).'/config/config.inc.php';
|
||||
Dispatcher::getInstance()->dispatch();
|
||||
Reference in New Issue
Block a user