예제 #1
0
 public function testAbsolutizeOutsideOfDocRoot()
 {
     $path = './../images/image.png';
     $existingPath = __DIR__ . '/../../Compiler.php';
     $this->assertEquals($path, $this->object->absolutizeUrl($path, '\'', $existingPath));
 }
예제 #2
0
 public function __construct($docRoot, IRequest $httpRequest)
 {
     parent::__construct($docRoot, $httpRequest->getUrl()->getBasePath());
 }