Skip to content

Commit 7fe8911

Browse files
authored
Better comments for gae-app.php
1 parent 465ff98 commit 7fe8911

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

appengine/php72/wordpress/files/gae-app.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
22

3+
/**
4+
* This file handles all routing for a WordPress project running on App Engine.
5+
* It serves up the appropriate PHP file depending on the request URI.
6+
*
7+
* @see https://cloud.google.com/appengine/docs/standard/php7/runtime#application_startup
8+
*/
9+
10+
/**
11+
* Function to return a PHP file to load based on the request URI.
12+
*
13+
* @param string $full_request_uri The request URI derivded from $_SERVER['REQUEST_URI'].
14+
*/
315
function get_real_file_to_load($full_request_uri)
416
{
517
$request_uri = @parse_url($full_request_uri)['path'];

0 commit comments

Comments
 (0)