diff --git a/.travis.yml b/.travis.yml
index 951be73..4f40d9b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,5 +8,4 @@ install:
- printf "\n" | pecl install imagick
before_script:
- phpenv config-add scripts/build/phpconf.ini
- - ./scripts/build/prepare.sh
script: phpunit -c tests/phpunit.xml
diff --git a/README.md b/README.md
index 8d1c8b6..bfdd29e 100644
--- a/README.md
+++ b/README.md
@@ -1 +1,26 @@
-
+Unsee.cc - Secure and private image hosting
+==============
+
+This is the official Git repository for the Unsee image hosting. The deployment on production server is as simple as:
+```
+git fetch
+git reset --hard origin/master
+rm application/configs/env.php
+```
+This is done for the sake of ease and transparency.
+
+
+Installation
+---------
+To run your copy of Unsee locally you'll probably need
+
+Requirements
+-----
+- *nix environment
+- Nginx
+ - Secure link module
+- Php
+ - Redis module
+ - Imagick module
+- Redis
+- Image magick
diff --git a/application/Bootstrap.php b/application/Bootstrap.php
index e5d94b2..7504b7b 100644
--- a/application/Bootstrap.php
+++ b/application/Bootstrap.php
@@ -12,6 +12,10 @@ protected function _initEnv()
if (empty($_SERVER['HTTP_USER_AGENT'])) {
$_SERVER['HTTP_USER_AGENT'] = 'cli';
}
+
+ if (empty($_SERVER['SERVER_NAME'])) {
+ $_SERVER['SERVER_NAME'] = 'unsee.cc';
+ }
}
protected function _initDocType()
diff --git a/application/configs/application.ini b/application/configs/application.ini
index cd3ebaa..a02e838 100644
--- a/application/configs/application.ini
+++ b/application/configs/application.ini
@@ -27,12 +27,10 @@ redis.port = '6379'
hash.vovels = 'aiueo';
hash.consonants = 'stnmrgzdbp';
-hash.syllables = 3;
+hash.syllables = 4;
timezone = 'Europe/Kiev';
-storagePath = APPLICATION_PATH "/../storage/"
-
; Image config
settings.info.title.type = 'text';
settings.info.description.type = 'textarea';
@@ -78,4 +76,5 @@ resources.frontController.params.displayExceptions = 1
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
resources.frontController.params.displayExceptions = 1
-domainName = "unsee.cc.local"
\ No newline at end of file
+domainName = "unsee.cc.local"
+combineAssets = 0;
\ No newline at end of file
diff --git a/application/configs/lang.xml b/application/configs/lang.xml
index f2146e1..03e09ba 100644
--- a/application/configs/lang.xml
+++ b/application/configs/lang.xml
@@ -40,6 +40,14 @@
после просмотра
after first view
+
+ 10 минут
+ in 10 minutes
+
+
+ 30 минут
+ in 30 minutes
+
через час
in one hour
@@ -292,7 +300,7 @@
Нажмите здесь, чтобы изменить настройки
- Click to change settings
+ Click here to change settings
@@ -362,7 +370,7 @@
Не позволять пользователям совершать правый клик по картинке чтобы сохранить её
- Restrict right-clicking images to save them
+ Restrict right-clicking images to save them, can't be disabled for single-view images
@@ -535,7 +543,7 @@
- минута
+ минуту
minute
@@ -559,5 +567,13 @@
Применить
Apply
+
+ Можно загрузить ещё картинок перетащив их на страницу
+ You can upload more images by dropping them on the page
+
+
+ Можно загрузить свои изображения перетащив их на страницу
+ You can add your own images by dropping them on the page
+