Skip to content

Commit 5b7fbf4

Browse files
committed
update
1 parent 5d87d19 commit 5b7fbf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ function readdirs($directory, $entries_array = array())
269269
//}
270270
//var_dump($tablePaths);
271271

272-
$path = substr($directory, strlen('pages/'));
272+
$path = substr($directory, strlen('pages/')) ?: '.';
273273
$dir = $directory . '/' . $table;
274274
if (!file_exists($dir)) {
275275
mkdir($dir, 0755, true);

0 commit comments

Comments
 (0)