Skip to content
Permalink
Browse files

first commit

  • Loading branch information
phpshopsoftware committed Dec 19, 2019
0 parents commit 9da6a5cec51cff58f19679bb800fb85070610351
Showing 3,091 changed files with 550,814 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
@@ -0,0 +1,2 @@
/Packs/*
/.idea/
@@ -0,0 +1,79 @@

## Apache ##

# Ïîääåðæêà PHP 5.3 è âûøå
#php_value allow_call_time_pass_reference on

# Îáõîä îøèáêè äâîéíîãî äîáàâëåíèå ñëåøåé â ORM
#php_flag magic_quotes_gpc off

# Îòëàäî÷íûå ñîîáùåíèÿ PHP
#php_value error_reporting 7

# Âûêëþ÷åíèå ãëîáàëüíûõ ïåðåìåííûõ PHP
#php_flag register_globals off



## PHPShop Core ##

# Êîäèðîâêà windows 1251
AddDefaultCharset windows-1251

# Ñêà÷èâàíèå CSV áðàóçåðàìè
AddType text/csv csv

DirectoryIndex index.php
RewriteEngine On

# Ðåäèðåêò íà www
# default - off
#RewriteCond %{HTTP_HOST} ^name\.ru
#RewriteRule ^(.*)$ http://www.name.ru/$1 [R=301,L]


#Options FollowSymLinks
#Options SymLinksIfOwnerMatch
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (((.*)\.html$)|((.*)/))$
RewriteCond %{REQUEST_URI} !((.*)\.(.*)/)$
RewriteRule ^(.*)$ index.php

# Ñòðàíèöà 404 îøèáêè
ErrorDocument 404 /404.html

# Ïðîâåðêà îáÿçàòåëüíîãî / â êîíöå
RewriteCond %{REQUEST_URI} (map|search|compare|order|done|clients|users|gbook|links|price|news|spec|newtip)$
RewriteRule ^(.*)$ /$1/ [L,R=302]


## PHPShop Security ##

# Çàïðåò íàâèãàöèè ïî ïàïêàì ÷åðåç áðàóçåð
# default - off
#Options -Indexes

# Çàïðåò âûçîâû ÷åðåç áðàóçåð ñòîðîííèõ îïàñíûõ ôàéëîâ øàáëîíà
# default - off
#RewriteCond %{REQUEST_URI} ^(/phpshop/templates/(.*))
#RewriteCond %{REQUEST_URI} !((.*)\.(gif|jpg|swf|png|jpeg|js|css|GIF|JPG|PNG|JPEG|eot|svg|ttf|woff))$
#RewriteRule .* - [F]

# Çàïðåò âûçîâû ÷åðåç áðàóçåð ñòîðîííèõ îïàñíûõ çàãðóæàåìûõ ôàéëîâ
# Íàêëàäûâàåò îãðàíè÷åíèå äëÿ çàãðóçêè ôàéëîâ ñ äðóãèìè ðàñøèðåíèÿìè
# default - off
RewriteCond %{REQUEST_URI} ^(/UserFiles/(.*))
RewriteCond %{REQUEST_URI} !((.*)\.(gif|jpg|swf|png|jpeg|js|css|GIF|JPG|PNG|JPEG|rar|zip|xml|pdf))$
RewriteRule .* - [F]

# Çàïðåò âûïîëíåíèÿ php â çàãðóæàåìûõ ïàïêàõ
# default - off
RewriteCond %{REQUEST_URI} ^((/UserFiles/(.*).(php\d?|phtml))|(/phpshop/templates/(.*).(php\d?|phtml))|(/phpshop/admpanel/csv/(.*).(php\d?|phtml)))$
RewriteRule .* - [F]

# Çàïðåò äîñòóïà ê ôàéëàì ëèöåíçèè, øàáëîíîâ, êîíôèãóðàöèè
<files ~ "\.(lic|ini|tpl|core\.php|inc\.php|hook\.php|class\.php|sql)$">
Order Deny,Allow
Deny From All
</files>
@@ -0,0 +1,73 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="windows-1251">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>404 Not found</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<style>
html {
position: relative;
min-height: 100%;
}
body {
margin-bottom: 60px;
}
.footer {
position: absolute;
bottom: 0;
width: 100%;
height: 60px;
background-color: #f5f5f5;
}
.container {
width: auto;
max-width: 680px;
padding: 0 15px;
}
.container .text-muted {
margin: 20px 0;
}
a .glyphicon{
padding-right: 3px;
}
</style>
<script type="text/javascript">
var GOOG_FIXURL_LANG = 'ru';
</script>
</head>
<body role="document">
<script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<div class="container">
<div class="page-header">
<h1>404 Not found</h1>
</div>
<p class="lead">Ñòðàíèöà íå íàéäåíà. Ïåðåõîä íà ãëàâíóþ ñòðàíèöó ñàéòà ïðîèçîéäåò ÷åðåç <span>10</span> ñåêóíä.</p></p>
<p>Íàæìèòå <a href="/" class="btn btn-info btn-xs"><span class="glyphicon glyphicon-refresh"></span>îáíîâèòü</a> åñëè ñòðàíèöà íå ïåðåãðóçèëàñü àâòîìàòè÷åñêè.</p>
</div>
<footer class="footer">
<div class="container">
<p class="text-muted">Ïåðåéòè íà <a href="/"><span class="glyphicon glyphicon-home"></span>ãëàâíóþ</a> ñòðàíèöó èëè âîñïîëüçîâàòüñÿ <a href="/search/"><span class="glyphicon glyphicon-search"></span>ïîèñêîì</a>.</p>
</div>
</footer>
<script>
var countdown = $('.lead span'),timer;
function startCountdown() {
var startFrom = $('.lead span').text();
timer = setInterval(function() {
countdown.text(--startFrom);
if (startFrom <= 0) {
clearInterval(timer);
window.location.replace('/');
}
}, 1000);
}
$(document).ready(function() {
startCountdown();
});
</script>
</body>
</body>
</html>
@@ -0,0 +1,4 @@
<files *>
Order Deny,Allow
Deny From All
</files>
No changes.

0 comments on commit 9da6a5c

Please sign in to comment.
You can’t perform that action at this time.