Ejemplo n.º 1
0
 /**
  * Initializes the class.
  *
  * @param string $htdocs  Htdocs path
  * @param string $backend Backend folder name
  */
 public static function init($htdocs, $backend)
 {
     self::$base = $htdocs;
     self::$backend = substr($htdocs, -3) === '../' ? '' : $htdocs . $backend . '/';
 }