When importing, do not change modification date.
Display /nodes sorted by changed date. Improved the import form, and report wrong import folder. Only import from folder inside site/import for security reason.
This commit is contained in:
@@ -147,6 +147,12 @@ feature -- Commit
|
||||
node_api.save_node (a_page)
|
||||
end
|
||||
|
||||
import_page (a_page: CMS_PAGE)
|
||||
-- Save `a_page` without changing the modification date.
|
||||
do
|
||||
node_api.import_node (a_page)
|
||||
end
|
||||
|
||||
feature {CMS_MODULE} -- Access nodes storage.
|
||||
|
||||
page_storage: CMS_PAGE_STORAGE_I
|
||||
|
||||
Reference in New Issue
Block a user