Skip to content

Commit

Permalink
creating vendor.zip
Browse files Browse the repository at this point in the history
  • Loading branch information
wingman007 committed Jun 1, 2013
1 parent 37428c7 commit 5814b1f
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 2 deletions.
24 changes: 24 additions & 0 deletions config/autoload/doctrineorm.local.php.appfog.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?php
$services_json = json_decode(getenv("VCAP_SERVICES"),true);
$mysql_config = $services_json["mysql-5.1"][0]["credentials"];
return array(
'doctrine' => array(
'connection' => array(
// default connection name
'orm_default' => array(
'driverClass' => 'Doctrine\DBAL\Driver\PDOMySql\Driver',
'params' => array(
'host' => $mysql_config["hostname"],
'port' => $mysql_config["port"],
'user' => $mysql_config["username"],
'password' => $mysql_config["password"],
'dbname' => $mysql_config["name"],
'charset' => 'utf8', // extra
'driverOptions' => array(
1002=>'SET NAMES utf8'
)
)
)
)
),
);
4 changes: 2 additions & 2 deletions module/Fmi/src/Fmi/Entity/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class User
* @Annotation\Options({"label":"User Picture:"})
*/
private $usrPicture;

/**
* @var integer
*
Expand Down Expand Up @@ -389,4 +389,4 @@ public function getUsrId()
// * @Annotation\Name("user")
// * @Annotation\Hydrator("DoctrineModule\Stdlib\Hydrator\DoctrineObject")
*/
*/
Binary file added vendor.zip
Binary file not shown.
3 changes: 3 additions & 0 deletions vendor/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ composer
zendframework
autoload.php
ZF2
bin
doctrine
symfony
6 changes: 6 additions & 0 deletions vendorReadMe.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
The archive vendor.zip contains all project dependancies. It provides an alternative to the "Composer".
Use it in environments where you can not use composer. (e.g. Codenvy)
"Composer" have been used to install the dependancies.

Installation:
Simply unzip and replace the vendor folder with the content.

0 comments on commit 5814b1f

Please sign in to comment.