added translation and image proxy
This commit is contained in:
1 parent
f7b2d01a13
commit
b648779ba3
35 files changed
+573
-11
No files matched your search
@@ -142,6 +142,11 @@ class PhotoAlbumRelationController extends Controller {
|
||||
public function actionJson()
|
||||
{
|
||||
$dataArray = PhotoAlbumRelation::model()->findAll();
|
||||
|
||||
foreach ($dataArray as &$data)
|
||||
{
|
||||
$data->imageUrl = "http://bashgid.hallyu.ru/bashgid_images/" . base64_encode($data->imageUrl) . ".jpg";
|
||||
}
|
||||
|
||||
$this->layout = false;
|
||||
header('Content-type: application/json');
|
||||
|
||||
Reference in new issue
Block a user