Exemplo n.º 1
0
 /**
  * Clean URI paths are paths relative to the document root WITHOUT "index.php" at the end. 
  * A clean URI is normally used when mod_rewrite is enabled.
  * @author Joshua Davey
  */
 public function testDynamicPath()
 {
     $docRoot = '/Apache/htdocs/';
     $pubDir = '/Apache/htdocs/madeam/public/';
     // clean uris
     $this->assertEquals('/madeam/', Framework::parseDynamicUri($docRoot, $pubDir));
 }