$f = $this->getStoreName();
- print_R($f);exit;
$dest = dirname($f);
if (!file_exists($dest)) {
// currently this is 0775 due to problems using shared hosing (FTP)
function toRooArray($req = array()) {
- // echo '<PRE>';print_r($req);exit;
+ echo '<PRE>';print_r($req);exit;
$ret= $this->toArray();
static $ff = false;
$ff->Pman_Images['public_baseURL'] : $ff->baseURL;
if (!empty($req['query']['imagesize'])) {
- $baseURL = isset($req['query']['imageBaseURL']) ? $req['query']['imageBaseURL'] : false;
+ // query/imageBaseURL ... depricated...? -- set it in config?
+
+ $baseURL = isset($req['query']['imageBaseURL']) ? $req['query']['imageBaseURL'] : $ret['public_baseURL'];
$ret['url'] = $this->URL(-1, '/Images/Download',$baseURL);