G2A Many GEOs
SHARE
TWEET

MODX gallery upload

krot May 24th, 2019 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  $gallery = array(
  2.               'id' => $id,
  3.               'name' => ($row['name']),
  4.               'rank' => 0,
  5.               'file' => MODX_BASE_PATH.'/assets/files/'.($im)
  6.             );
  7.  
  8.             $upload = $this->modx->runProcessor('gallery/upload', $gallery, array(
  9.               'processors_path' => MODX_CORE_PATH.'components/minishop2/processors/mgr/'
  10.             ));
RAW Paste Data
Ledger Nano X - The secure hardware wallet
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top