From 67f04928be3ea5f204026da6236a1068966a0d22 Mon Sep 17 00:00:00 2001 From: dignajar Date: Sat, 20 Feb 2016 13:16:31 -0300 Subject: [PATCH] Installer symbolic link --- bl-plugins/maintenancemode/.!3404!.DS_Store | 0 bl-plugins/maintenancemode/.!3421!.DS_Store | 0 .../{maintancemode => maintenancemode}/languages/bg_BG.json | 4 ++-- .../{maintancemode => maintenancemode}/languages/de_CH.json | 2 +- .../{maintancemode => maintenancemode}/languages/de_DE.json | 4 ++-- .../{maintancemode => maintenancemode}/languages/en_US.json | 4 ++-- .../{maintancemode => maintenancemode}/languages/es_AR.json | 4 ++-- .../{maintancemode => maintenancemode}/languages/fr_FR.json | 4 ++-- .../{maintancemode => maintenancemode}/languages/ja_JP.json | 4 ++-- .../{maintancemode => maintenancemode}/languages/pl_PL.json | 4 ++-- .../{maintancemode => maintenancemode}/languages/ru_RU.json | 2 +- .../{maintancemode => maintenancemode}/languages/tr_TR.json | 2 +- .../{maintancemode => maintenancemode}/languages/uk_UA.json | 4 ++-- .../{maintancemode => maintenancemode}/languages/zh_TW.json | 4 ++-- bl-plugins/{maintancemode => maintenancemode}/metadata.json | 4 ++-- bl-plugins/{maintancemode => maintenancemode}/plugin.php | 6 +++--- install.php | 3 +++ 17 files changed, 29 insertions(+), 26 deletions(-) create mode 100644 bl-plugins/maintenancemode/.!3404!.DS_Store create mode 100644 bl-plugins/maintenancemode/.!3421!.DS_Store rename bl-plugins/{maintancemode => maintenancemode}/languages/bg_BG.json (69%) rename bl-plugins/{maintancemode => maintenancemode}/languages/de_CH.json (75%) rename bl-plugins/{maintancemode => maintenancemode}/languages/de_DE.json (74%) rename bl-plugins/{maintancemode => maintenancemode}/languages/en_US.json (73%) rename bl-plugins/{maintancemode => maintenancemode}/languages/es_AR.json (76%) rename bl-plugins/{maintancemode => maintenancemode}/languages/fr_FR.json (75%) rename bl-plugins/{maintancemode => maintenancemode}/languages/ja_JP.json (70%) rename bl-plugins/{maintancemode => maintenancemode}/languages/pl_PL.json (75%) rename bl-plugins/{maintancemode => maintenancemode}/languages/ru_RU.json (77%) rename bl-plugins/{maintancemode => maintenancemode}/languages/tr_TR.json (74%) rename bl-plugins/{maintancemode => maintenancemode}/languages/uk_UA.json (74%) rename bl-plugins/{maintancemode => maintenancemode}/languages/zh_TW.json (76%) rename bl-plugins/{maintancemode => maintenancemode}/metadata.json (57%) rename bl-plugins/{maintancemode => maintenancemode}/plugin.php (89%) diff --git a/bl-plugins/maintenancemode/.!3404!.DS_Store b/bl-plugins/maintenancemode/.!3404!.DS_Store new file mode 100644 index 00000000..e69de29b diff --git a/bl-plugins/maintenancemode/.!3421!.DS_Store b/bl-plugins/maintenancemode/.!3421!.DS_Store new file mode 100644 index 00000000..e69de29b diff --git a/bl-plugins/maintancemode/languages/bg_BG.json b/bl-plugins/maintenancemode/languages/bg_BG.json similarity index 69% rename from bl-plugins/maintancemode/languages/bg_BG.json rename to bl-plugins/maintenancemode/languages/bg_BG.json index a6782c1e..6b60434e 100644 --- a/bl-plugins/maintancemode/languages/bg_BG.json +++ b/bl-plugins/maintenancemode/languages/bg_BG.json @@ -5,6 +5,6 @@ "description": "Поставете вашия сайт на режим на поддръжка." }, - "enable-maintence-mode": "Активиране режим на поддръжка ", + "enable-maintenance-mode": "Активиране режим на поддръжка ", "message": "Съобщение" -} \ No newline at end of file +} diff --git a/bl-plugins/maintancemode/languages/de_CH.json b/bl-plugins/maintenancemode/languages/de_CH.json similarity index 75% rename from bl-plugins/maintancemode/languages/de_CH.json rename to bl-plugins/maintenancemode/languages/de_CH.json index a4151ae5..94f9fa05 100644 --- a/bl-plugins/maintancemode/languages/de_CH.json +++ b/bl-plugins/maintenancemode/languages/de_CH.json @@ -5,6 +5,6 @@ "description": "Wartungsmodus für die Website mit Zugang zum Admin-Bereich." }, - "enable-maintence-mode": "Aktivierung des Wartungsmodus", + "enable-maintenance-mode": "Aktivierung des Wartungsmodus", "message": "Auf der Website angezeigter Hinweis" } diff --git a/bl-plugins/maintancemode/languages/de_DE.json b/bl-plugins/maintenancemode/languages/de_DE.json similarity index 74% rename from bl-plugins/maintancemode/languages/de_DE.json rename to bl-plugins/maintenancemode/languages/de_DE.json index 369cec5a..94f9fa05 100644 --- a/bl-plugins/maintancemode/languages/de_DE.json +++ b/bl-plugins/maintenancemode/languages/de_DE.json @@ -5,6 +5,6 @@ "description": "Wartungsmodus für die Website mit Zugang zum Admin-Bereich." }, - "enable-maintence-mode": "Aktivierung des Wartungsmodus", + "enable-maintenance-mode": "Aktivierung des Wartungsmodus", "message": "Auf der Website angezeigter Hinweis" -} \ No newline at end of file +} diff --git a/bl-plugins/maintancemode/languages/en_US.json b/bl-plugins/maintenancemode/languages/en_US.json similarity index 73% rename from bl-plugins/maintancemode/languages/en_US.json rename to bl-plugins/maintenancemode/languages/en_US.json index c23bd0f5..f5977cfe 100644 --- a/bl-plugins/maintancemode/languages/en_US.json +++ b/bl-plugins/maintenancemode/languages/en_US.json @@ -5,6 +5,6 @@ "description": "Set your site on maintenance mode, you can access to admin area." }, - "enable-maintence-mode": "Enable maintenance mode", + "enable-maintenance-mode": "Enable maintenance mode", "message": "Message" -} \ No newline at end of file +} diff --git a/bl-plugins/maintancemode/languages/es_AR.json b/bl-plugins/maintenancemode/languages/es_AR.json similarity index 76% rename from bl-plugins/maintancemode/languages/es_AR.json rename to bl-plugins/maintenancemode/languages/es_AR.json index afd7dfb2..c643b0e4 100644 --- a/bl-plugins/maintancemode/languages/es_AR.json +++ b/bl-plugins/maintenancemode/languages/es_AR.json @@ -5,6 +5,6 @@ "description": "Configura el sitio en modo mantenimiento, se puede acceder al panel de administración mientras tanto." }, - "enable-maintence-mode": "Habilitar modo mantenimiento", + "enable-maintenance-mode": "Habilitar modo mantenimiento", "message": "Mensaje" -} \ No newline at end of file +} diff --git a/bl-plugins/maintancemode/languages/fr_FR.json b/bl-plugins/maintenancemode/languages/fr_FR.json similarity index 75% rename from bl-plugins/maintancemode/languages/fr_FR.json rename to bl-plugins/maintenancemode/languages/fr_FR.json index 2596edab..998d4b79 100644 --- a/bl-plugins/maintancemode/languages/fr_FR.json +++ b/bl-plugins/maintenancemode/languages/fr_FR.json @@ -5,6 +5,6 @@ "description": "Configurer votre site sur le mode de maintenance, vous pouvez accéder à la zone d'administration." }, - "enable-maintence-mode": "Activer le mode de maintence", + "enable-maintenance-mode": "Activer le mode de maintenance", "message": "Message" -} \ No newline at end of file +} diff --git a/bl-plugins/maintancemode/languages/ja_JP.json b/bl-plugins/maintenancemode/languages/ja_JP.json similarity index 70% rename from bl-plugins/maintancemode/languages/ja_JP.json rename to bl-plugins/maintenancemode/languages/ja_JP.json index 3ad5df64..85315115 100644 --- a/bl-plugins/maintancemode/languages/ja_JP.json +++ b/bl-plugins/maintenancemode/languages/ja_JP.json @@ -5,6 +5,6 @@ "description": "メンテンナンス・モードに設定します。管理エリアにはアクセスできます。" }, - "enable-maintence-mode": "メンテンナンス・モードを有効にする", + "enable-maintenance-mode": "メンテンナンス・モードを有効にする", "message": "メッセージ" -} \ No newline at end of file +} diff --git a/bl-plugins/maintancemode/languages/pl_PL.json b/bl-plugins/maintenancemode/languages/pl_PL.json similarity index 75% rename from bl-plugins/maintancemode/languages/pl_PL.json rename to bl-plugins/maintenancemode/languages/pl_PL.json index 4472a53d..c3ac3ec8 100644 --- a/bl-plugins/maintancemode/languages/pl_PL.json +++ b/bl-plugins/maintenancemode/languages/pl_PL.json @@ -5,6 +5,6 @@ "description": "Przełącz stronę w tryb konwersacji (wówczas działać będzie tylko kokpit)." }, - "enable-maintence-mode": "Włącz tryb konwersacji", + "enable-maintenance-mode": "Włącz tryb konwersacji", "message": "Wiadomość" -} \ No newline at end of file +} diff --git a/bl-plugins/maintancemode/languages/ru_RU.json b/bl-plugins/maintenancemode/languages/ru_RU.json similarity index 77% rename from bl-plugins/maintancemode/languages/ru_RU.json rename to bl-plugins/maintenancemode/languages/ru_RU.json index 6ca2d932..0a33698f 100644 --- a/bl-plugins/maintancemode/languages/ru_RU.json +++ b/bl-plugins/maintenancemode/languages/ru_RU.json @@ -5,6 +5,6 @@ "description": "Установите ваш сайт в режим обслуживания, вы можете получить доступ к панели управления." }, - "enable-maintence-mode": "Включить режим обслуживания", + "enable-maintenance-mode": "Включить режим обслуживания", "message": "Сообщение" } diff --git a/bl-plugins/maintancemode/languages/tr_TR.json b/bl-plugins/maintenancemode/languages/tr_TR.json similarity index 74% rename from bl-plugins/maintancemode/languages/tr_TR.json rename to bl-plugins/maintenancemode/languages/tr_TR.json index 57bb5d5d..ea9051da 100644 --- a/bl-plugins/maintancemode/languages/tr_TR.json +++ b/bl-plugins/maintenancemode/languages/tr_TR.json @@ -5,6 +5,6 @@ "description": "Sitenizi bakım moduna alın, admin paneline erişmeye devam edebilirsiniz." }, - "enable-maintence-mode": "Bakım modunu etkinleştir.", + "enable-maintenance-mode": "Bakım modunu etkinleştir.", "message": "Mesaj" } diff --git a/bl-plugins/maintancemode/languages/uk_UA.json b/bl-plugins/maintenancemode/languages/uk_UA.json similarity index 74% rename from bl-plugins/maintancemode/languages/uk_UA.json rename to bl-plugins/maintenancemode/languages/uk_UA.json index 0c2092fb..b1a29e11 100644 --- a/bl-plugins/maintancemode/languages/uk_UA.json +++ b/bl-plugins/maintenancemode/languages/uk_UA.json @@ -5,6 +5,6 @@ "description": "Перемикає ваш сайт у режим обслуговування, але ви матимете доступ до адмінки." }, - "enable-maintence-mode": "Включити режим обслуговування", + "enable-maintenance-mode": "Включити режим обслуговування", "message": "Message" -} \ No newline at end of file +} diff --git a/bl-plugins/maintancemode/languages/zh_TW.json b/bl-plugins/maintenancemode/languages/zh_TW.json similarity index 76% rename from bl-plugins/maintancemode/languages/zh_TW.json rename to bl-plugins/maintenancemode/languages/zh_TW.json index ce7d5ed8..89a0eac9 100644 --- a/bl-plugins/maintancemode/languages/zh_TW.json +++ b/bl-plugins/maintenancemode/languages/zh_TW.json @@ -5,6 +5,6 @@ "description": "設定您的網站為維護模式,但是您依然可以登入到管理介面" }, - "enable-maintence-mode": "啟用維護模式", + "enable-maintenance-mode": "啟用維護模式", "message": "訊息" -} \ No newline at end of file +} diff --git a/bl-plugins/maintancemode/metadata.json b/bl-plugins/maintenancemode/metadata.json similarity index 57% rename from bl-plugins/maintancemode/metadata.json rename to bl-plugins/maintenancemode/metadata.json index 7eec067d..2cbb647d 100644 --- a/bl-plugins/maintancemode/metadata.json +++ b/bl-plugins/maintenancemode/metadata.json @@ -1,9 +1,9 @@ { "author": "Bludit", "email": "", - "website": "https://github.com/dignajar/bludit-plugins", + "website": "https://plugins.bludit.com", "version": "1.1", - "releaseDate": "2016-02-13", + "releaseDate": "2016-02-20", "license": "MIT", "requires": "Bludit v1.1", "notes": "" diff --git a/bl-plugins/maintancemode/plugin.php b/bl-plugins/maintenancemode/plugin.php similarity index 89% rename from bl-plugins/maintancemode/plugin.php rename to bl-plugins/maintenancemode/plugin.php index 6dce564f..a77e1253 100644 --- a/bl-plugins/maintancemode/plugin.php +++ b/bl-plugins/maintenancemode/plugin.php @@ -1,6 +1,6 @@ '; $html .= 'getDbField('enable')?'checked':'').'>'; - $html .= ''; + $html .= ''; $html .= ''; $html .= '
'; @@ -33,4 +33,4 @@ class pluginMaintanceMode extends Plugin { exit( $this->getDbField('message') ); } } -} \ No newline at end of file +} diff --git a/install.php b/install.php index 9cedee3d..5e31b483 100644 --- a/install.php +++ b/install.php @@ -36,6 +36,9 @@ define('PATH_UPLOADS_THUMBNAILS',PATH_UPLOADS.'thumbnails'.DS); define('PATH_HELPERS', PATH_KERNEL.'helpers'.DS); define('PATH_ABSTRACT', PATH_KERNEL.'abstract'.DS); +// Protecting against Symlink attacks. +define('CHECK_SYMBOLIC_LINKS', TRUE); + // Domain and protocol define('DOMAIN', $_SERVER['HTTP_HOST']);