MODX gallery upload
krot May 24th, 2019 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- $gallery = array(
- 'id' => $id,
- 'name' => ($row['name']),
- 'rank' => 0,
- 'file' => MODX_BASE_PATH.'/assets/files/'.($im)
- $upload = $this->modx->runProcessor('gallery/upload', $gallery, array(
- 'processors_path' => MODX_CORE_PATH.'components/minishop2/processors/mgr/'
RAW Paste Data