Browse Source

Implemented fix suggested in Issue 823 - Add DOCUMENT_ROOT to require_once path on domain edit [and contacts_vcard.php, and save_switch_xml() function].

Nate Jones 10 years ago
parent
commit
2dad940811
1 changed files with 1 additions and 1 deletions
  1. 1 1
      contacts_vcard.php

+ 1 - 1
contacts_vcard.php

@@ -199,7 +199,7 @@ if (count($_GET)>0) {
 			}
 
 			//include
-				require_once PROJECT_PATH."resources/qr/qrcode.php";
+				require_once $_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/resources/qr/qrcode.php";
 
 			//error correction level
 				//QR_ERROR_CORRECT_LEVEL_L : $e = 0;