Exemple #1
0
 /**
  * Constructor
  *
  * Initialize the propel connection 
  */
 public function __construct()
 {
     if (!self::$init) {
         // Setup propel
         Propel::init(CONF_ROOT . 'connection.php');
         // flag init state
         self::$init = true;
     }
 }