Oficially bump minimal PHP version to 5.3.0
This commit is contained in:
parent
23fab964ee
commit
884310add6
@ -9,7 +9,7 @@ instance.
|
|||||||
|
|
||||||
### Requirements
|
### Requirements
|
||||||
|
|
||||||
- PHP version 5.2.6 or above
|
- PHP version 5.3.0 or above
|
||||||
- GD extension
|
- GD extension
|
||||||
- mcrypt extension (recommended)
|
- mcrypt extension (recommended)
|
||||||
- some disk space or (optional) a database supported by PDO
|
- some disk space or (optional) a database supported by PDO
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
"en": "de",
|
"en": "de",
|
||||||
"Paste does not exist, has expired or has been deleted.":
|
"Paste does not exist, has expired or has been deleted.":
|
||||||
"Diesen Text gibt es nicht, er ist abgelaufen oder wurde gelöscht.",
|
"Diesen Text gibt es nicht, er ist abgelaufen oder wurde gelöscht.",
|
||||||
"PrivateBin requires php 5.2.6 or above to work. Sorry.":
|
"PrivateBin requires php 5.3.0 or above to work. Sorry.":
|
||||||
"PrivateBin benötigt PHP 5.2.6 oder höher, um zu funktionieren. 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 requires configuration section [%s] to be present in configuration file.":
|
||||||
"PrivateBin benötigt den Konfigurationsabschnitt [%s] in der Konfigurationsdatei um zu funktionieren.",
|
"PrivateBin benötigt den Konfigurationsabschnitt [%s] in der Konfigurationsdatei um zu funktionieren.",
|
||||||
"Please wait %d seconds between each post.":
|
"Please wait %d seconds between each post.":
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
"en": "fr",
|
"en": "fr",
|
||||||
"Paste does not exist, has expired or has been deleted.":
|
"Paste does not exist, has expired or has been deleted.":
|
||||||
"Le paste n'existe pas, a expiré, ou a été supprimé.",
|
"Le paste n'existe pas, a expiré, ou a été supprimé.",
|
||||||
"PrivateBin requires php 5.2.6 or above to work. Sorry.":
|
"PrivateBin requires php 5.3.0 or above to work. Sorry.":
|
||||||
"Désolé, PrivateBin nécessite php 5.2.6 ou supérieur pour fonctionner.",
|
"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 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.",
|
"PrivateBin a besoin de la section de configuration [%s] dans le fichier de configuration pour fonctionner.",
|
||||||
"Please wait %d seconds between each post.":
|
"Please wait %d seconds between each post.":
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
"en": "pl",
|
"en": "pl",
|
||||||
"Paste does not exist, has expired or has been deleted.":
|
"Paste does not exist, has expired or has been deleted.":
|
||||||
"Wklejka nie istnieje, wygasła albo została usunięta.",
|
"Wklejka nie istnieje, wygasła albo została usunięta.",
|
||||||
"PrivateBin requires php 5.2.6 or above to work. Sorry.":
|
"PrivateBin requires php 5.3.0 or above to work. Sorry.":
|
||||||
"PrivateBin wymaga PHP w wersji 5.2.6 lub nowszej, sorry.",
|
"PrivateBin wymaga PHP w wersji 5.3.0 lub nowszej, sorry.",
|
||||||
"PrivateBin requires configuration section [%s] to be present in configuration file.":
|
"PrivateBin requires configuration section [%s] to be present in configuration file.":
|
||||||
"PrivateBin wymaga obecności sekcji [%s] w pliku konfiguracyjnym.",
|
"PrivateBin wymaga obecności sekcji [%s] w pliku konfiguracyjnym.",
|
||||||
"Please wait %d seconds between each post.":
|
"Please wait %d seconds between each post.":
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
"en": "sl",
|
"en": "sl",
|
||||||
"Paste does not exist, has expired or has been deleted.":
|
"Paste does not exist, has expired or has been deleted.":
|
||||||
"Prilepek ne obstaja, mu je potekla življenjska doba, ali pa je izbrisan.",
|
"Prilepek ne obstaja, mu je potekla življenjska doba, ali pa je izbrisan.",
|
||||||
"PrivateBin requires php 5.2.6 or above to work. Sorry.":
|
"PrivateBin requires php 5.3.0 or above to work. Sorry.":
|
||||||
"Oprosti, PrivateBin za delovanje potrebuje vsaj php 5.2.6.",
|
"Oprosti, PrivateBin za delovanje potrebuje vsaj php 5.3.0.",
|
||||||
"PrivateBin requires configuration section [%s] to be present in configuration file.":
|
"PrivateBin requires configuration section [%s] to be present in configuration file.":
|
||||||
"PrivateBin potrebuje sekcijo konfiguracij [%s] v konfiguracijski datoteki.",
|
"PrivateBin potrebuje sekcijo konfiguracij [%s] v konfiguracijski datoteki.",
|
||||||
"Please wait %d seconds between each post.":
|
"Please wait %d seconds between each post.":
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
"en": "zh",
|
"en": "zh",
|
||||||
"Paste does not exist, has expired or has been deleted.":
|
"Paste does not exist, has expired or has been deleted.":
|
||||||
"粘贴不存在,已过期或者已被删除。",
|
"粘贴不存在,已过期或者已被删除。",
|
||||||
"PrivateBin requires php 5.2.6 or above to work. Sorry.":
|
"PrivateBin requires php 5.3.0 or above to work. Sorry.":
|
||||||
"PrivateBin需要工作于PHP 5.2.6及以上版本,抱歉。",
|
"PrivateBin需要工作于PHP 5.3.0及以上版本,抱歉。",
|
||||||
"PrivateBin requires configuration section [%s] to be present in configuration file.":
|
"PrivateBin requires configuration section [%s] to be present in configuration file.":
|
||||||
"PrivateBin需要设置配置文件中 [%s] 的部分。",
|
"PrivateBin需要设置配置文件中 [%s] 的部分。",
|
||||||
"Please wait %d seconds between each post.":
|
"Please wait %d seconds between each post.":
|
||||||
|
@ -117,9 +117,9 @@ class privatebin
|
|||||||
*/
|
*/
|
||||||
public function __construct()
|
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
|
// load config from ini file
|
||||||
|
Loading…
Reference in New Issue
Block a user