Example #1
0
 /**
  * Retorna uma instância de AutoLoad_Helper, caso não exista é criada
  *
  * @return AutoLoad_Helper
  */
 public static function getInstance()
 {
     if (self::$_instance == null) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }
Example #2
0
File: index.php Project: angreh/ccn
<?php

ini_set('session.save_path', realpath(getcwd() . '/session'));
define('APP_PATH', dirname(__FILE__) . '/app/');
require_once APP_PATH . 'Helper/AutoLoad_Helper.class.php';
AutoLoad_Helper::getInstance()->register();
System_Helper::init();