lib/Cuke4Php.php in cuke4php-0.9.0 vs lib/Cuke4Php.php in cuke4php-0.9.1
- old
+ new
@@ -23,9 +23,11 @@
'before' => array(),
'after' => array()
);
function __construct($_sFeaturePath, $_iPort = 16816) {
+ $_sFeaturePath = dirname($_sFeaturePath);
+
if ($_iPort > 0) {
$this->iPort = $_iPort;
} else {
$this->iPort = 16816;
}
\ No newline at end of file