Changeset 1675


Ignore:
Timestamp:
Oct 5, 2010, 3:26:55 PM (11 years ago)
Author:
goya
Message:

oups commit malheureux corrigé

Location:
cpc/trunk/project
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/apps/frontend/config/factories.yml

    r1674 r1675  
    55      level:   err
    66      loggers: ~
    7   view_cache:
    8     class: sfMemcacheCache
    9     param:
    10       lifetime:                  86400
    11       prefix:                    some_prefix
    12       persistent:       false
    13       servers:
    14         server_01:
    15           host: localhost
    16           post: 11211
    177
    188  mailer:
  • cpc/trunk/project/apps/frontend/modules/amendement/config/cache.yml

    r1674 r1675  
    11all:
    2    enabled: false
     2   enabled: true
    33   lifetime: 86400
    44_pagerAmendements:
  • cpc/trunk/project/apps/frontend/modules/intervention/config/cache.yml

    r1674 r1675  
    11all:
    2   enabled: false
     2  enabled: true
    33  lifetime: 86400
    44show:
  • cpc/trunk/project/apps/frontend/modules/presence/config/cache.yml

    r1674 r1675  
    11all:
    2   enabled: false
     2  enabled: true
    33  lifetime: 86400
     4
  • cpc/trunk/project/bin/load_amdmts_loi

    r1674 r1675  
    33loi=$1
    44
    5 cd /home/nosdeputes/project
     5cd /home/nosdeputes/prod
    66
    77# Récupération et création des JSON
  • cpc/trunk/project/bin/loadsql

    r1674 r1675  
    1313#cat /tmp/delete.sql | mysql $MYSQLID $DBNAME
    1414#rm /tmp/tables.sql /tmp/drop.sql /tmp/create.sql /tmp/delete.sql
    15 zcat data/sql/data.sql.gz | grep -v 'rate_commentaire' | mysql $MYSQLID $DBNAME
     15zcat data/sql/data.sql.gz | mysql $MYSQLID $DBNAME
    1616#php symfony set:Vacances
  • cpc/trunk/project/bin/updateDB3.sh

    r1674 r1675  
    1010echo "ALTER TABLE parlementaire ADD photo LONGBLOB NULL AFTER profession" | mysql $MYSQLID $DBNAME
    1111
    12 zcat ../prod/data/sql/dumps/nosdeputes_prod.100927.sql.gz | mysql --default-character-set=utf8 $MYSQLID $DBNAME
     12zcat data/sql/dumps/nosdeputes_prod.100925.sql.gz | mysql --default-character-set=utf8 $MYSQLID $DBNAME
    1313
    1414echo "ALTER TABLE parlementaire DROP photo" | mysql $MYSQLID $DBNAME
  • cpc/trunk/project/web/.htaccess

    r1674 r1675  
    66  # uncomment the following line, if you are having trouble
    77  # getting no_script_name to work
    8   RewriteBase /
     8  #RewriteBase /
    99
    1010  # we skip all files with .something
     
    1212  #RewriteCond %{REQUEST_URI} !\.html$
    1313  #RewriteRule .* - [L]
    14 
    15   RewriteRule ^simplifions /loi/ta376 [R,L]
    16   RewriteRule ^simplifions-la-loi /loi/ta376 [R,L]
    17   RewriteRule ^Simplifions-la-loi-2.0 /loi/ta376 [R,L]
    1814
    1915  # we check if the .html version is here (caching)
  • cpc/trunk/project/web/backend_dev.php

    r1674 r1675  
    55if (!in_array(@$_SERVER['REMOTE_ADDR'], array('127.0.0.1', '::1')))
    66{
    7  // die('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
     7  die('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
    88}
    99
  • cpc/trunk/project/web/frontend_dev.php

    r1674 r1675  
    55if (!in_array(@$_SERVER['REMOTE_ADDR'], array('127.0.0.1', '::1')))
    66{
    7 //  die('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
     7  die('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
    88}
    99
Note: See TracChangeset for help on using the changeset viewer.