Changed thumbnail script to use newest posts first
This commit is contained in:
parent
8bae666275
commit
d0270824f1
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ $size = isset($argv[1]) ? $argv[1] : 160;
|
||||||
$postDao = Injector::get(PostDao::class);
|
$postDao = Injector::get(PostDao::class);
|
||||||
$postThumbnailService = Injector::get(PostThumbnailService::class);
|
$postThumbnailService = Injector::get(PostThumbnailService::class);
|
||||||
|
|
||||||
foreach ($postDao->findAll() as $post)
|
foreach (array_reverse($postDao->findAll()) as $post)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue