Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. [ Linea 101 ]
  2. // Handle upload requests
  3. add_action('init', array(&$this, 'handle_upload_request'));
  4.  
  5.  
  6. [ Linea 564 ]
  7. /**
  8. * Handles upload requests
  9. */
  10. function handle_upload_request()
  11. {
  12.         if (isset($_GET['nggupload'])) {
  13.                 require_once(implode(DIRECTORY_SEPARATOR, array(
  14.                         NGGALLERY_ABSPATH,
  15.                         'admin',
  16.                         'upload.php'
  17.                 )));
  18.                 throw new E_Clean_Exit();
  19.         }
  20. }