@@ -173,10 +173,10 @@ public function getAuthority() {
173173 /**
174174 * Returns the base URL of the framework.
175175 *
176- * The returned value will depend on the folder where the framework files
177- * are located. For example, if your domain is 'example.com' and the framework
176+ * The returned value will depend on the folder where the library files
177+ * are located. For example, if your domain is 'example.com' and the library
178178 * is placed at the root and the requested resource is 'http://example.com/x/y/z',
179- * then the base URL will be 'http://example.com/'. If the framework is
179+ * then the base URL will be 'http://example.com/'. If the library is
180180 * placed inside a folder in the server which has the name 'system', and
181181 * the same resource is requested, then the base URL will be
182182 * 'http://example.com/system'.
@@ -202,13 +202,13 @@ public static function getBaseURL() {
202202 $ docRoot = filter_var ($ _SERVER ['DOCUMENT_ROOT ' ]);
203203 $ len = strlen ($ docRoot );
204204
205- if (!defined (ROOT_DIR )) {
205+ if (!defined (' ROOT_DIR ' )) {
206206 define ('ROOT_DIR ' , __DIR__ );
207207 }
208208 $ toAppend = substr (ROOT_DIR , $ len , strlen (ROOT_DIR ) - $ len );
209209
210- if (isset ($ _SERVER ['HTTP_WEBFIORI_REMOVE_PATH ' ])) {
211- $ toAppend = str_replace ($ _SERVER ['HTTP_WEBFIORI_REMOVE_PATH ' ],'' ,$ toAppend );
210+ if (isset ($ _SERVER ['HTTP_WF_REMOVE_PATH ' ])) {
211+ $ toAppend = str_replace ($ _SERVER ['HTTP_WF_REMOVE_PATH ' ],'' ,$ toAppend );
212212 }
213213 $ xToAppend = str_replace ('\\' , '/ ' , $ toAppend );
214214
0 commit comments