Skip to content

Commit aa58263

Browse files
committed
also - file_get_contents is what i meant...
1 parent 28a0134 commit aa58263

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

purge.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//requires https://github.com/netdna/netdnarws-php
33
require_once('netdnarws-php/NetDNA.php');
44

5-
$config = json_decode(readfile('./config.json'), true);
5+
$config = json_decode(file_get_contents('./config.json'), true);
66
$config = $config["cdn"];
77

88
//place your alias, key, secret into this constructor

0 commit comments

Comments
 (0)