From: Michael Wallner Date: Thu, 3 Sep 2015 15:15:32 +0000 (+0200) Subject: update pharext X-Git-Url: https://git.m6w6.name/?p=m6w6%2Freplicator;a=commitdiff_plain;h=9754f6d5b5c0e15606cfe01d87df89fc0eae57df;ds=sidebyside update pharext --- diff --git a/composer.lock b/composer.lock index 5a09ce9..1d6acef 100644 --- a/composer.lock +++ b/composer.lock @@ -1,7 +1,7 @@ { "_readme": [ "This file locks the dependencies of your project to a known state", - "Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], "hash": "6536f75724f1b6738b441c05cd7d65e5", @@ -51,23 +51,30 @@ }, { "name": "m6w6/pharext", - "version": "v4.0.0", + "version": "v4.1.1", "source": { "type": "git", "url": "https://github.com/m6w6/pharext.git", - "reference": "d017df1dcb270773804bbed4628397a9c7df30c4" + "reference": "03f7c23b5401098e1c157cc0d36628dc449901ea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/m6w6/pharext/zipball/d017df1dcb270773804bbed4628397a9c7df30c4", - "reference": "d017df1dcb270773804bbed4628397a9c7df30c4", + "url": "https://api.github.com/repos/m6w6/pharext/zipball/03f7c23b5401098e1c157cc0d36628dc449901ea", + "reference": "03f7c23b5401098e1c157cc0d36628dc449901ea", "shasum": "" }, "bin": [ "bin/pharext", - "bin/pharext.pubkey" + "bin/pharext.pubkey", + "bin/pharext.update", + "bin/pharext.update.pubkey" ], "type": "project", + "autoload": { + "psr-0": { + "pharext": "src" + } + }, "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-2-Clause" @@ -80,7 +87,7 @@ "package", "phar" ], - "time": "2015-05-20 06:39:24" + "time": "2015-09-03 15:12:31" } ], "packages-dev": [], diff --git a/public/index.php b/public/index.php index d557aa7..639f1e2 100644 --- a/public/index.php +++ b/public/index.php @@ -139,7 +139,7 @@ $time = time(); $dsec = 86400; - $lmod = filemtime($phar); + $lmod = isset($meta["date"]) ? strtotime($meta["date"]) : filemtime($phar); $days = [1 => "today", "yesterday"]; do { for ($i = 1; $i < 7; ++$i) {