Changeset 2683


Ignore:
Timestamp:
May 13, 2012, 6:14:36 PM (8 years ago)
Author:
teymour
Message:

Fin de législature pas par défaut

Location:
cpc/trunk/project
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/config/app.yml.example

    r2681 r2683  
    44  secret_key: _______PUT_YOUR_KEY_HERE________
    55  legislature: 13
    6   debut_legislature: "2007-06-20"
    7   fin_legislature: true
     6#  fin_legislature: true
     7#  debut_legislature: "2007-06-20"
    88  groupes_actuels: >
    99    ["GDR", "SRC", "NC", "UMP", "NI"]
  • cpc/trunk/project/lib/model/doctrine/myTools.class.php

    r2681 r2683  
    2626
    2727  public static function isFinLegislature() {
    28     if (sfConfig::get('app_fin_legislature') == true)
    29       return true;
    30     return false;
     28    return (sfConfig::get('app_fin_legislature') == true);
    3129  }
    3230
Note: See TracChangeset for help on using the changeset viewer.