Commit: dacf6d1f7496c4337b0fe19971d543359590f1f8 Author: Anatol Belski <[email protected]> Thu, 7 Mar 2019 12:49:04 +0100 Parents: 3f73316e2f0c30d21d784c1bc223e5d1330d06e7 Branches: master
Link: http://git.php.net/?p=web/windows.git;a=commitdiff;h=dacf6d1f7496c4337b0fe19971d543359590f1f8 Log: Fix path Changed paths: M include/listing.php Diff: diff --git a/include/listing.php b/include/listing.php index c908f06..dc0c00d 100644 --- a/include/listing.php +++ b/include/listing.php @@ -231,7 +231,7 @@ function transform_fname_to_latest($fname_real, $ver, $cur_ver) function get_redirection_conf_piece($tpl, $fname_real, $ver, $cur_ver) { - $real_fname_path = DOCROOT . $fname_real; + $real_fname_path = RELEASES_DIR . $fname_real; if (".zip" != substr($fname_real, strlen($fname_real)-4) || !is_file($real_fname_path)) { /* This might be something invalid like a partially uploaded file or wrong path, don't generate anything. */ return ""; -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
