admin
Karma: 57
|
Re:addfiledone - 2008/10/31 11:36
My approach would be to remove the last three lines of the savefile method in remository_savefile_Controller.php, which currently read:
| Code: |
require_once ($this->admin->v_classes_path.'remositoryAddFileDoneHTML.php');
$view =& new remositoryAddFileDoneHTML($this);
$view->addFileDoneHTML ($newfile);
|
and replace them with:
| Code: |
$interface =& remositoryInterface::getInstance();
$interface->redirect(remositoryRepository::RemositoryBasicFunctionURL('fileinfo', $newfile->id));
|
That is untested, but something along those lines should work. It wouldn't suit everybody because it only makes sense if everything is auto-approved.
Post edited by: admin, at: 2008/10/31 11:37
Martin Brampton aka Counterpoint http://black-sheep-research.com http://mamboguru.com |