Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mevdschee committed Aug 5, 2023
1 parent 5d87d19 commit 5b7fbf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ function readdirs($directory, $entries_array = array())
//}
//var_dump($tablePaths);

$path = substr($directory, strlen('pages/'));
$path = substr($directory, strlen('pages/')) ?: '.';
$dir = $directory . '/' . $table;
if (!file_exists($dir)) {
mkdir($dir, 0755, true);
Expand Down

0 comments on commit 5b7fbf4

Please sign in to comment.