Skip to content

Commit

Permalink
modifcado la ruta de imagenes
Browse files Browse the repository at this point in the history
añadidas excepciones al ignore
  • Loading branch information
davidnegreira committed Apr 16, 2015
1 parent 252c741 commit b3342c3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 14 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
app/bootstrap*

# Directorios de Symfony
bin/doctrine*
vendor/*
*/logs/*
*/cache/*
Expand Down
2 changes: 1 addition & 1 deletion app/config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ twig:
strict_variables: %kernel.debug%
globals:
ciudad_por_defecto: %cupon.ciudad_por_defecto%
directorio_imagenes: '/uploads/images/'
directorio_imagenes: 'uploads/images/'

# Configuración de Assetic
assetic:
Expand Down
13 changes: 1 addition & 12 deletions app/config/parameters.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,10 @@
# This file is auto-generated during the composer install
parameters:
# Si NO usas SQLite, comenta estas dos líneas
database_driver: pdo_sqlite
database_path: "%kernel.root_dir%/data/datos.sqlite"

# Si usas MySQL, descomenta estas líneas
# database_driver: pdo_mysql
# database_host: localhost
# database_port: null
# database_name: cupon
# database_user: cupon
# database_password: cupon

database_path: '%kernel.root_dir%/data/datos.sqlite'
mailer_transport: smtp
mailer_host: localhost
mailer_user: null
mailer_password: null

locale: es
secret: ThisTokenIsNotSoSecretChangeIt
3 changes: 2 additions & 1 deletion web/app_dev.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

// This check prevents access to debug front controllers that are deployed by accident to production servers.
// Feel free to remove this, extend it, or make something more sophisticated.
if (isset($_SERVER['HTTP_CLIENT_IP'])
/*if (isset($_SERVER['HTTP_CLIENT_IP'])
|| isset($_SERVER['HTTP_X_FORWARDED_FOR'])
|| !in_array(@$_SERVER['REMOTE_ADDR'], array(
'127.0.0.1',
Expand All @@ -18,6 +18,7 @@
header('HTTP/1.0 403 Forbidden');
exit('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
}
*/

$loader = require_once __DIR__.'/../app/bootstrap.php.cache';
require_once __DIR__.'/../app/AppKernel.php';
Expand Down

0 comments on commit b3342c3

Please sign in to comment.