You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From what I understand the code works something like this (I'm using pseudocode here):
if (upgrade) {
...// Show the todo list for upgrading
...
} elseif (installation) {
...// Show the todo list for installation
...
} else {
// It's a game pageif (game_data_xml_exists) {
// Finished!!!
} else {
// Show todo list for game pageif (there_is_a_data_xml_file_in_images_directory) { // <-- WTF?// Finished!!!
} elseif (required_done) {
// final step asking to change _data.xml to data.xml
}
}
}
What I don't understand is why data.xml would be in the images directory. There's no other code that reads this later on.
Also, if this meant to be the data.xml file in the game directory then that puzzles me even more, since that would go to the other branch of the if statement (the first "// Finished!!!" in the code above).
Is this intentional or accidental? As far as I can see, this won't actually cause any errors but it does add some cruft to the code which threw me off.
The text was updated successfully, but these errors were encountered:
I'm confused about a certain line in create.php
https://github.com/ramiismail/dopresskit/blob/master/archive/create.php#L335
From what I understand the code works something like this (I'm using pseudocode here):
What I don't understand is why data.xml would be in the images directory. There's no other code that reads this later on.
Also, if this meant to be the data.xml file in the game directory then that puzzles me even more, since that would go to the other branch of the if statement (the first "// Finished!!!" in the code above).
Is this intentional or accidental? As far as I can see, this won't actually cause any errors but it does add some cruft to the code which threw me off.
The text was updated successfully, but these errors were encountered: