diff --git a/INSTALL.md b/INSTALL.md index 5848f98..6c76e81 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -9,7 +9,7 @@ instance. ### Requirements -- PHP version 5.2.6 or above +- PHP version 5.3.0 or above - GD extension - mcrypt extension (recommended) - some disk space or (optional) a database supported by PDO diff --git a/i18n/de.json b/i18n/de.json index 60353d9..e726bee 100644 --- a/i18n/de.json +++ b/i18n/de.json @@ -2,8 +2,8 @@ "en": "de", "Paste does not exist, has expired or has been deleted.": "Diesen Text gibt es nicht, er ist abgelaufen oder wurde gelöscht.", - "PrivateBin requires php 5.2.6 or above to work. Sorry.": - "PrivateBin benötigt PHP 5.2.6 oder höher, um zu funktionieren. Sorry.", + "PrivateBin requires php 5.3.0 or above to work. Sorry.": + "PrivateBin benötigt PHP 5.3.0 oder höher, um zu funktionieren. Sorry.", "PrivateBin requires configuration section [%s] to be present in configuration file.": "PrivateBin benötigt den Konfigurationsabschnitt [%s] in der Konfigurationsdatei um zu funktionieren.", "Please wait %d seconds between each post.": diff --git a/i18n/fr.json b/i18n/fr.json index 50d5602..fd4de96 100644 --- a/i18n/fr.json +++ b/i18n/fr.json @@ -2,8 +2,8 @@ "en": "fr", "Paste does not exist, has expired or has been deleted.": "Le paste n'existe pas, a expiré, ou a été supprimé.", - "PrivateBin requires php 5.2.6 or above to work. Sorry.": - "Désolé, PrivateBin nécessite php 5.2.6 ou supérieur pour fonctionner.", + "PrivateBin requires php 5.3.0 or above to work. Sorry.": + "Désolé, PrivateBin nécessite php 5.3.0 ou supérieur pour fonctionner.", "PrivateBin requires configuration section [%s] to be present in configuration file.": "PrivateBin a besoin de la section de configuration [%s] dans le fichier de configuration pour fonctionner.", "Please wait %d seconds between each post.": diff --git a/i18n/pl.json b/i18n/pl.json index 6a1a63e..0c60fbb 100644 --- a/i18n/pl.json +++ b/i18n/pl.json @@ -2,8 +2,8 @@ "en": "pl", "Paste does not exist, has expired or has been deleted.": "Wklejka nie istnieje, wygasła albo została usunięta.", - "PrivateBin requires php 5.2.6 or above to work. Sorry.": - "PrivateBin wymaga PHP w wersji 5.2.6 lub nowszej, sorry.", + "PrivateBin requires php 5.3.0 or above to work. Sorry.": + "PrivateBin wymaga PHP w wersji 5.3.0 lub nowszej, sorry.", "PrivateBin requires configuration section [%s] to be present in configuration file.": "PrivateBin wymaga obecności sekcji [%s] w pliku konfiguracyjnym.", "Please wait %d seconds between each post.": diff --git a/i18n/sl.json b/i18n/sl.json index a159bf8..98978a4 100644 --- a/i18n/sl.json +++ b/i18n/sl.json @@ -2,8 +2,8 @@ "en": "sl", "Paste does not exist, has expired or has been deleted.": "Prilepek ne obstaja, mu je potekla življenjska doba, ali pa je izbrisan.", - "PrivateBin requires php 5.2.6 or above to work. Sorry.": - "Oprosti, PrivateBin za delovanje potrebuje vsaj php 5.2.6.", + "PrivateBin requires php 5.3.0 or above to work. Sorry.": + "Oprosti, PrivateBin za delovanje potrebuje vsaj php 5.3.0.", "PrivateBin requires configuration section [%s] to be present in configuration file.": "PrivateBin potrebuje sekcijo konfiguracij [%s] v konfiguracijski datoteki.", "Please wait %d seconds between each post.": diff --git a/i18n/zh.json b/i18n/zh.json index 6a40769..f7e6395 100644 --- a/i18n/zh.json +++ b/i18n/zh.json @@ -2,8 +2,8 @@ "en": "zh", "Paste does not exist, has expired or has been deleted.": "粘贴不存在,已过期或者已被删除。", - "PrivateBin requires php 5.2.6 or above to work. Sorry.": - "PrivateBin需要工作于PHP 5.2.6及以上版本,抱歉。", + "PrivateBin requires php 5.3.0 or above to work. Sorry.": + "PrivateBin需要工作于PHP 5.3.0及以上版本,抱歉。", "PrivateBin requires configuration section [%s] to be present in configuration file.": "PrivateBin需要设置配置文件中 [%s] 的部分。", "Please wait %d seconds between each post.": diff --git a/lib/privatebin.php b/lib/privatebin.php index f1f15a8..a159f9d 100644 --- a/lib/privatebin.php +++ b/lib/privatebin.php @@ -117,9 +117,9 @@ class privatebin */ public function __construct() { - if (version_compare(PHP_VERSION, '5.2.6') < 0) + if (version_compare(PHP_VERSION, '5.3.0') < 0) { - throw new Exception(i18n::_('PrivateBin requires php 5.2.6 or above to work. Sorry.'), 1); + throw new Exception(i18n::_('PrivateBin requires php 5.3.0 or above to work. Sorry.'), 1); } // load config from ini file