Skip to content

Commit 7e17973

Browse files
committed
Merge pull request #138 from lrocher/fix137
Proposed fix for issue #137
2 parents 7af5f65 + 6284711 commit 7e17973

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/OpenTok/Util/Validators.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public static function validateArchiveId($archiveId)
146146
}
147147
public static function validateArchiveData($archiveData)
148148
{
149-
if (!self::$schemaUri) { self::$schemaUri = realpath(__DIR__.'/archive-schema.json'); }
149+
if (!self::$schemaUri) { self::$schemaUri = __DIR__.'/archive-schema.json'; }
150150
$document = new Document();
151151
// have to do a encode+decode so that json objects decoded as arrays from Guzzle
152152
// are re-encoded as objects instead
@@ -162,7 +162,7 @@ public static function validateArchiveData($archiveData)
162162
}
163163
public static function validateArchiveListData($archiveListData)
164164
{
165-
if (!self::$schemaUri) { self::$schemaUri = realpath(__DIR__.'/archive-schema.json'); }
165+
if (!self::$schemaUri) { self::$schemaUri = __DIR__.'/archive-schema.json'; }
166166
$document = new Document();
167167
// have to do a encode+decode so that json objects decoded as arrays from Guzzle
168168
// are re-encoded as objects instead

0 commit comments

Comments
 (0)