Recover accidentally deleted photos

This commit is contained in:
2016-02-08 20:49:49 +00:00
parent 97f3025259
commit 665ca58988
18 changed files with 217 additions and 17 deletions

View File

@@ -1,9 +1,7 @@
<?php
require __DIR__ . '/utilities.php';
use Symfony\Component\Yaml\Yaml;
foreach (glob('_data/gallery/*.yml') as $sFile) {
foreach (glob('C:\Users\Rik\Downloads\yy/*.yml') as $sFile) {
yamlParse($sFile, $aYaml, $sContents);
preg_match_all('~\s{2}(\w{7}):\n~', $sContents, $aMatches);
$aPhotos = $aMatches[1];