-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Andrey Chechkin
committed
May 13, 2015
1 parent
e278352
commit 41bef1c
Showing
59 changed files
with
3,917 additions
and
4,051 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<? | ||
$PERM["/"]["*"]="R"; | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
root = true | ||
|
||
[*] | ||
trim_trailing_whitespace = true | ||
indent_style = tab | ||
end_of_line = lf | ||
insert_final_newline = true | ||
|
||
[package.json] | ||
indent_style = space | ||
root = true | ||
|
||
[*] | ||
trim_trailing_whitespace = true | ||
indent_style = tab | ||
end_of_line = lf | ||
insert_final_newline = true | ||
|
||
[package.json] | ||
indent_style = space | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,74 +1,74 @@ | ||
*.swp | ||
*.log | ||
# archives | ||
*.tar | ||
*.gz | ||
*.tgz | ||
*.bz | ||
*.tbz | ||
*.7z | ||
*.zip | ||
*.rar | ||
*.sql | ||
|
||
node_modules | ||
bower_components | ||
front-end-gulp | ||
bitrix/templates/main/styles/build | ||
bitrix/templates/main/scripts/build | ||
bitrix/templates/main/images/sprites/*/build | ||
bitrix/templates/main/styles/src/sprites | ||
.source_of_symbolic_links | ||
robots.txt | ||
index.html | ||
|
||
# bitrix tmp dirs | ||
bitrix/cache | ||
bitrix/managed_cache | ||
bitrix/tmp | ||
|
||
#SYMBOLIC_LINKS_START# | ||
# configs (security) | ||
dbconfig.php | ||
bitrix/license_key.php | ||
|
||
# backups | ||
bitrix/backup | ||
|
||
# bitrix system dirs | ||
bitrix/.access.php | ||
bitrix/activities | ||
bitrix/activity_limit.php | ||
bitrix/admin | ||
bitrix/click.php | ||
bitrix/components/bitrix | ||
bitrix/coupon_activation.php | ||
bitrix/fonts | ||
bitrix/footer.php | ||
bitrix/gadgets | ||
bitrix/header.php | ||
bitrix/image_uploader | ||
bitrix/images | ||
bitrix/index.php | ||
bitrix/js | ||
bitrix/modules | ||
bitrix/otp | ||
bitrix/p3p.xml | ||
bitrix/panel | ||
bitrix/redirect.php | ||
bitrix/rk.php | ||
bitrix/rss.php | ||
bitrix/services | ||
bitrix/sounds | ||
bitrix/spread.php | ||
bitrix/template | ||
bitrix/themes | ||
bitrix/tools | ||
bitrix/urlrewrite.php | ||
bitrix/virtual_file_system.php | ||
bitrix/web.config | ||
bitrix/wizards | ||
bitrix/updates | ||
|
||
# upload dir | ||
*.swp | ||
*.log | ||
# archives | ||
*.tar | ||
*.gz | ||
*.tgz | ||
*.bz | ||
*.tbz | ||
*.7z | ||
*.zip | ||
*.rar | ||
*.sql | ||
|
||
node_modules | ||
bower_components | ||
front-end-gulp | ||
bitrix/templates/main/styles/build | ||
bitrix/templates/main/scripts/build | ||
bitrix/templates/main/images/sprites/*/build | ||
bitrix/templates/main/styles/src/sprites | ||
.source_of_symbolic_links | ||
robots.txt | ||
index.html | ||
|
||
# bitrix tmp dirs | ||
bitrix/cache | ||
bitrix/managed_cache | ||
bitrix/tmp | ||
|
||
#SYMBOLIC_LINKS_START# | ||
# configs (security) | ||
dbconfig.php | ||
bitrix/license_key.php | ||
|
||
# backups | ||
bitrix/backup | ||
|
||
# bitrix system dirs | ||
bitrix/.access.php | ||
bitrix/activities | ||
bitrix/activity_limit.php | ||
bitrix/admin | ||
bitrix/click.php | ||
bitrix/components/bitrix | ||
bitrix/coupon_activation.php | ||
bitrix/fonts | ||
bitrix/footer.php | ||
bitrix/gadgets | ||
bitrix/header.php | ||
bitrix/image_uploader | ||
bitrix/images | ||
bitrix/index.php | ||
bitrix/js | ||
bitrix/modules | ||
bitrix/otp | ||
bitrix/p3p.xml | ||
bitrix/panel | ||
bitrix/redirect.php | ||
bitrix/rk.php | ||
bitrix/rss.php | ||
bitrix/services | ||
bitrix/sounds | ||
bitrix/spread.php | ||
bitrix/template | ||
bitrix/themes | ||
bitrix/tools | ||
bitrix/urlrewrite.php | ||
bitrix/virtual_file_system.php | ||
bitrix/web.config | ||
bitrix/wizards | ||
bitrix/updates | ||
|
||
# upload dir | ||
upload |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,32 @@ | ||
AddDefaultCharset UTF-8 | ||
Options -Indexes | ||
ErrorDocument 404 /404.php | ||
|
||
<IfModule mod_php5.c> | ||
php_flag session.use_trans_sid off | ||
php_value display_errors 1 | ||
php_value mbstring.internal_encoding UTF-8 | ||
</IfModule> | ||
|
||
<IfModule mod_rewrite.c> | ||
Options +FollowSymLinks | ||
RewriteEngine On | ||
RewriteCond %{REQUEST_FILENAME} !-f | ||
RewriteCond %{REQUEST_FILENAME} !-l | ||
RewriteCond %{REQUEST_FILENAME} !-d | ||
RewriteCond %{REQUEST_FILENAME} !/bitrix/urlrewrite.php$ | ||
RewriteRule ^(.*)$ /bitrix/urlrewrite.php [L] | ||
RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}] | ||
</IfModule> | ||
|
||
<IfModule mod_dir.c> | ||
DirectoryIndex index.php index.html | ||
</IfModule> | ||
|
||
<IfModule mod_expires.c> | ||
ExpiresActive on | ||
ExpiresByType image/jpeg "access plus 3 day" | ||
ExpiresByType image/gif "access plus 3 day" | ||
ExpiresByType image/png "access plus 3 day" | ||
ExpiresByType text/css "access plus 3 day" | ||
ExpiresByType application/javascript "access plus 3 day" | ||
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<? | ||
$sSectionName = 'Главная'; | ||
$arDirProperties = array( | ||
'title' => 'Аксайский Кирпичный Завод', | ||
'description' => '', | ||
'keywords' => '', | ||
'robots' => 'index, follow' | ||
); | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,20 @@ | ||
<?define('404', 'Y'); | ||
require($_SERVER[ "DOCUMENT_ROOT"]. "/bitrix/templates/main/header.php"); ?> | ||
<section class="content-block"> | ||
<h1>Такой страницы больше нет</h1> | ||
<p>Приносим свои извинения</p> | ||
<ul> | ||
<li><a href="#back" onclick="history.back();"><div id="back" class="circle"></div>Назад</a></li> | ||
<li><img src="<?=$tplPath;?>images/404-img.png"></li> | ||
<li><a href="/"><div id="main-page" class="circle"></div>На главную</a></li> | ||
</ul> | ||
</section> | ||
<?require($_SERVER[ "DOCUMENT_ROOT"]. "/bitrix/templates/main/footer.php");?> | ||
<? | ||
include_once($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/include/urlrewrite.php'); | ||
|
||
CHTTP::SetStatus("404 Not Found"); | ||
@define("ERROR_404","Y"); | ||
|
||
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php"); | ||
|
||
$APPLICATION->SetTitle("404 Not Found"); | ||
|
||
$APPLICATION->IncludeComponent("bitrix:main.map", ".default", Array( | ||
"LEVEL" => "3", | ||
"COL_NUM" => "2", | ||
"SHOW_DESCRIPTION" => "Y", | ||
"SET_TITLE" => "Y", | ||
"CACHE_TIME" => "36000000" | ||
) | ||
); | ||
|
||
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<?php | ||
require $_SERVER['DOCUMENT_ROOT'].'/dbconfig.php'; | ||
return array ( | ||
'utf_mode' => | ||
array ( | ||
'value' => true, | ||
'readonly' => true, | ||
), | ||
'cache_flags' => | ||
array ( | ||
'value' => | ||
array ( | ||
'config_options' => 3600, | ||
'site_domain' => 3600, | ||
), | ||
'readonly' => false, | ||
), | ||
'cookies' => | ||
array ( | ||
'value' => | ||
array ( | ||
'secure' => false, | ||
'http_only' => true, | ||
), | ||
'readonly' => false, | ||
), | ||
'exception_handling' => | ||
array ( | ||
'value' => | ||
array ( | ||
'debug' => false, | ||
'handled_errors_types' => 4437, | ||
'exception_errors_types' => 4437, | ||
'ignore_silence' => false, | ||
'assertion_throws_exception' => true, | ||
'assertion_error_type' => 256, | ||
'log' => NULL, | ||
), | ||
'readonly' => false, | ||
), | ||
'connections' => | ||
array ( | ||
'value' => | ||
array ( | ||
'default' => | ||
array ( | ||
'className' => '\\Bitrix\\Main\\DB\\MysqlConnection', | ||
'host' => $DB_CFG_HOST, | ||
'database' => $DB_CFG_NAME, | ||
'login' => $DB_CFG_USER, | ||
'password' => $DB_CFG_PASS, | ||
'options' => 2, | ||
), | ||
), | ||
'readonly' => true, | ||
), | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Deny From All |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<? | ||
$DB->Query("SET NAMES 'utf8'"); | ||
$DB->Query('SET collation_connection = "utf8_unicode_ci"'); | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<? | ||
$connection = \Bitrix\Main\Application::getConnection(); | ||
$connection->queryExecute("SET NAMES 'utf8'"); | ||
$connection->queryExecute('SET collation_connection = "utf8_unicode_ci"'); | ||
?> |
Oops, something went wrong.