Added compatibility with php-5.6

main
Jeroen De Meerleer 5 years ago
parent 4f7136737b
commit aa9ceeb269
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6
  1. 2
      composer.json
  2. 78
      composer.lock
  3. 6
      include/initialize.inc.php

@ -9,6 +9,6 @@
],
"require": {
"guzzlehttp/guzzle": "6.2.3",
"twig/twig": "v2.3.0"
"twig/twig": "~1.0"
}
}

78
composer.lock generated

@ -4,8 +4,8 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"hash": "94673161c41195b4e13ab88bfb8b548e",
"content-hash": "59067e6b5fba936b8b1dbb117e2c3a0a",
"hash": "3c176e19b02b76a0ece10255ee92a64e",
"content-hash": "b702a42c8eedad019f88c871628b496b",
"packages": [
{
"name": "guzzlehttp/guzzle",
@ -235,82 +235,22 @@
],
"time": "2016-08-06 14:39:51"
},
{
"name": "symfony/polyfill-mbstring",
"version": "v1.3.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-mbstring.git",
"reference": "e79d363049d1c2128f133a2667e4f4190904f7f4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/e79d363049d1c2128f133a2667e4f4190904f7f4",
"reference": "e79d363049d1c2128f133a2667e4f4190904f7f4",
"shasum": ""
},
"require": {
"php": ">=5.3.3"
},
"suggest": {
"ext-mbstring": "For best performance"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.3-dev"
}
},
"autoload": {
"psr-4": {
"Symfony\\Polyfill\\Mbstring\\": ""
},
"files": [
"bootstrap.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Nicolas Grekas",
"email": "p@tchwork.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Symfony polyfill for the Mbstring extension",
"homepage": "https://symfony.com",
"keywords": [
"compatibility",
"mbstring",
"polyfill",
"portable",
"shim"
],
"time": "2016-11-14 01:06:16"
},
{
"name": "twig/twig",
"version": "v2.3.0",
"version": "v1.33.2",
"source": {
"type": "git",
"url": "https://github.com/twigphp/Twig.git",
"reference": "9718186a5df85a4f7917e78d3ffcabc204c75d25"
"reference": "dd6ca96227917e1e85b41c7c3cc6507b411e0927"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/twigphp/Twig/zipball/9718186a5df85a4f7917e78d3ffcabc204c75d25",
"reference": "9718186a5df85a4f7917e78d3ffcabc204c75d25",
"url": "https://api.github.com/repos/twigphp/Twig/zipball/dd6ca96227917e1e85b41c7c3cc6507b411e0927",
"reference": "dd6ca96227917e1e85b41c7c3cc6507b411e0927",
"shasum": ""
},
"require": {
"php": "^7.0",
"symfony/polyfill-mbstring": "~1.0"
"php": ">=5.2.7"
},
"require-dev": {
"psr/container": "^1.0",
@ -320,7 +260,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.3-dev"
"dev-master": "1.33-dev"
}
},
"autoload": {
@ -355,7 +295,7 @@
"keywords": [
"templating"
],
"time": "2017-03-22 15:41:51"
"time": "2017-04-20 17:39:48"
}
],
"packages-dev": [],

@ -28,6 +28,12 @@ session_start();
error_reporting("E_ALL");
ini_set("display_errors", "on");
if( ini_get('safe_mode') ){
die("Cannot run in safe mode");
}
set_time_limit(600);
if (!file_exists("config.inc.php")) {
die ("Cannot find config file");
}

Loading…
Cancel
Save