diff options
| author | astaf <astaf@proxy.ccwn.org.ccwn.org> | 2013-06-20 20:35:40 +0200 |
|---|---|---|
| committer | astaf <astaf@proxy.ccwn.org.ccwn.org> | 2013-06-20 20:35:40 +0200 |
| commit | bd583d68a92e47f596f53ba112941367aaf1dbe0 (patch) | |
| tree | 5011c868b39b0757d28a714dd5c1e6ba29dc78f5 /protected/controllers/VereinController.php | |
| parent | 79c88ea008f5cf34fc77a05fa2059e63298b223f (diff) | |
Produktiver stand
Diffstat (limited to 'protected/controllers/VereinController.php')
| -rw-r--r-- | protected/controllers/VereinController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protected/controllers/VereinController.php b/protected/controllers/VereinController.php index 445488b..aad8776 100644 --- a/protected/controllers/VereinController.php +++ b/protected/controllers/VereinController.php @@ -116,7 +116,7 @@ class VereinController extends Controller if (null === $filename) {
throw new CHttpException(500, 'Error while saving image.');
}
- $model->bild = $filename;
+ $model->bild = "/".$filename;
$model->save();
} } |
