Skip to content

Commit fef912f

Browse files
committed
zone id should be loaded from the config
1 parent 3cd498b commit fef912f

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
@@ -3,7 +3,7 @@
33

44
$config = json_decode( file_get_contents( './config.json' ), true );
55
$config = $config[ 'cdn' ];
6-
$zone_id = 1;
6+
$zone_id = $config[ 'zone_id' ];
77

88
$parts = preg_split( '/\?reload=?/', $_SERVER[ 'REQUEST_URI' ] );
99
if ( !$parts ) {

0 commit comments

Comments
 (0)