Hello.
I wanted to add a large number of photos to the root (default) album.
At present, I tried changing
File:
gallery3/modules/server_add/controllers/server_add.php
Lines:
181: $child_entry->parent_id = $entry->id; // null if the parent was a staging dir
182: $child_entry->is_directory = is_dir($child_path);
To
181: $child_entry->parent_id = null; // null if the parent was a staging dir
182: $child_entry->is_directory = False;
This kinda works. But I am guessing this is not the right way to do this.
What would be the right way to go about this to change the server_add module ?
Thanks