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
#!/bin/bash | |
[ ! -f composer.phar ] && { echo "Please have a composer.phar beside this script."; exit 1; } | |
if [ ! -d base ] ; then | |
symfony new base 2.8 | |
cd base | |
# using pdo_sqlite | |
sed -i 's! # database_path: "%kernel.root_dir%/data.db3"! database_path: "%kernel.root_dir%/data.db3"!' app/config/parameters.yml.dist | |
echo " database_path: '%kernel.root_dir%/data.db3'" >> app/config/parameters.yml |
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
<?php | |
if (! isset ($this->lang_hash['fr'])) { | |
$this->lang_hash['fr'] = array (); | |
} | |
$this->lang_hash['fr'] = array_merge ( | |
$this->lang_hash['fr'], | |
array ( | |
'Add a comment:' => 'Ajouter un commentaire :', |