This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private function _getImageNameAndReceive($name, $subPath = null) | |
{ | |
$ret_name = ''; | |
/*@var $imageElement Zend_Form_Element_File*/ | |
$imageElement = $this->$name; | |
if( !empty($imageElement) ) | |
{ | |
$image_name = $imageElement->getFileName(null, false); | |
if ( !empty($image_name) ) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import with_statement | |
from fabric.api import env | |
from fabric.api import * | |
from fabric.contrib.console import confirm | |
from fabric.contrib.project import upload_project | |
import ubuntu | |
import protobuf |