mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-12-29 13:15:44 +01:00
Oficially bump minimal PHP version to 5.3.0
This commit is contained in:
parent
23fab964ee
commit
884310add6
7 changed files with 13 additions and 13 deletions
|
@ -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
|
||||
|
|
|
@ -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.":
|
||||
|
|
|
@ -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.":
|
||||
|
|
|
@ -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.":
|
||||
|
|
|
@ -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.":
|
||||
|
|
|
@ -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.":
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue