Got a much simpler solution working for dat.test.
This commit is contained in:
@@ -11,8 +11,8 @@ function getEvents() {
|
||||
$ctl = $dt -> format("YmdHi");
|
||||
$entries[$i]["ctl"] = $ctl;
|
||||
$datestamp = $dt -> format("Ymd");
|
||||
$files = array( "agenda" => sprintf("agenda/%d.md", $datestamp)
|
||||
, "minutes" => sprintf("minutes/%d.md", $datestamp)
|
||||
$files = array( "agenda" => sprintf("dat/agenda/%d.md", $datestamp)
|
||||
, "minutes" => sprintf("dat/minutes/%d.md", $datestamp)
|
||||
);
|
||||
foreach ( $files as $key => $file ) {
|
||||
if ( file_exists( $file ) ) {
|
||||
|
||||
Reference in New Issue
Block a user