$path = $tmpdir . '/' . time();
- if(!file_exists($path)){
- file_put_contents($path, $q['_source']);
- }
-
- $this->setFrom($q);
-
- if (!$this->createFrom($path)) {
- $roo->jerr("error on auto save making image");
- }
-
- $roo->addEvent("AUTOSAVE", $this, $this->toEventString());
+ $source = array(
+ 'source' => $q['_source']
+ );
+
+// if(!file_exists($path)){
+// file_put_contents($path, $q['_source']);
+// }
+//
+// $this->setFrom($q);
+//
+// if (!$this->createFrom($path)) {
+// $roo->jerr("error on auto save making image");
+// }
+//
+// $roo->addEvent("AUTOSAVE", $this, $this->toEventString());
$this->jok("OK");
}
{
// copy the file into the storage area..
if (!file_exists($file) || !filesize($file)) {
- print_r('errror?????');exit;
return false;
}