From 47ee8ce50bf5e98b4701fe6954ec6d9b7ad9e97e Mon Sep 17 00:00:00 2001 From: Awilum Date: Fri, 9 Mar 2018 13:11:52 +0300 Subject: [PATCH] Rawilum init commit --- .gitignore | 6 + .htaccess | 63 +++++ CHANGELOG.md | 2 + LICENSE.md | 21 ++ README.md | 48 +++- composer.json | 46 ++++ favicon.ico | Bin 0 -> 1150 bytes index.php | 29 +++ monstra/Cache.php | 242 ++++++++++++++++++++ monstra/Config.php | 82 +++++++ monstra/Filter.php | 128 +++++++++++ monstra/Monstra.php | 141 ++++++++++++ monstra/MonstraTrait.php | 31 +++ monstra/Page.php | 136 +++++++++++ monstra/Pages.php | 54 +++++ monstra/Plugin.php | 28 +++ monstra/Plugins.php | 63 +++++ monstra/Themes.php | 35 +++ monstra/boot/defines.php | 31 +++ robots.txt | 5 + site/cache/.gitkeep | 0 site/config/site.yml | 28 +++ site/content/blocks/fansoro-docs.md | 1 + site/content/pages/404/index.md | 7 + site/content/pages/contact/index.md | 15 ++ site/content/pages/home/index.md | 7 + site/plugins/.gitkeep | 0 site/themes/default/assets/css/theme.css | 0 site/themes/default/default.yml | 13 ++ site/themes/default/index.php | 3 + site/themes/default/partials/footer.php | 3 + site/themes/default/partials/head.php | 23 ++ site/themes/default/partials/navigation.php | 1 + site/themes/default/partials/tail.php | 3 + 34 files changed, 1294 insertions(+), 1 deletion(-) create mode 100755 .gitignore create mode 100755 .htaccess create mode 100755 CHANGELOG.md create mode 100755 LICENSE.md mode change 100644 => 100755 README.md create mode 100755 composer.json create mode 100644 favicon.ico create mode 100755 index.php create mode 100755 monstra/Cache.php create mode 100755 monstra/Config.php create mode 100755 monstra/Filter.php create mode 100755 monstra/Monstra.php create mode 100755 monstra/MonstraTrait.php create mode 100755 monstra/Page.php create mode 100755 monstra/Pages.php create mode 100755 monstra/Plugin.php create mode 100755 monstra/Plugins.php create mode 100644 monstra/Themes.php create mode 100755 monstra/boot/defines.php create mode 100755 robots.txt create mode 100755 site/cache/.gitkeep create mode 100755 site/config/site.yml create mode 100755 site/content/blocks/fansoro-docs.md create mode 100755 site/content/pages/404/index.md create mode 100755 site/content/pages/contact/index.md create mode 100755 site/content/pages/home/index.md create mode 100755 site/plugins/.gitkeep create mode 100755 site/themes/default/assets/css/theme.css create mode 100755 site/themes/default/default.yml create mode 100755 site/themes/default/index.php create mode 100755 site/themes/default/partials/footer.php create mode 100755 site/themes/default/partials/head.php create mode 100755 site/themes/default/partials/navigation.php create mode 100755 site/themes/default/partials/tail.php diff --git a/.gitignore b/.gitignore new file mode 100755 index 00000000..fdb34dfd --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +.idea +.DS_Store +composer.phar +composer.lock +vendor +site-katerinasitnikova diff --git a/.htaccess b/.htaccess new file mode 100755 index 00000000..ff9c3356 --- /dev/null +++ b/.htaccess @@ -0,0 +1,63 @@ +# +# This file is part of the Rawilum. +# +# (c) Romanenko Sergey / Awilum +# +# For the full copyright and license information, please view the LICENSE +# file that was distributed with this source code. +# + +# Set default charset utf-8 +AddDefaultCharset UTF-8 + +# PHP 5, Apache 1 and 2. + + php_flag magic_quotes_gpc off + php_flag magic_quotes_sybase off + php_flag register_globals off + + + + RewriteEngine on + + ## Begin - Rewrite rules to block out some common exploits. + # If you experience problems on your site block out the operations listed below + # This attempts to block the most common type of exploit `attempts` to Rawilum + # + # Block out any script trying to base64_encode data within the URL. + RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR] + # Block out any script that includes a + +