X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDefines.php;h=fc39af569814abea4bc473acd195b9dbd9090b94;hb=a82a7940f667d4eccdc0197d7ded786dc5efe474;hp=54215c7f1194bd03423e447238f1efe19e0c9241;hpb=3d60242fb5ee620e91d5301001fcded2dab05b24;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Defines.php b/includes/Defines.php index 54215c7f11..fc39af5698 100644 --- a/includes/Defines.php +++ b/includes/Defines.php @@ -1,34 +1,251 @@ +/** + * Protocol constants for wfExpandUrl() + */ +define( 'PROTO_HTTP', 'http://' ); +define( 'PROTO_HTTPS', 'https://' ); +define( 'PROTO_RELATIVE', '//' ); +define( 'PROTO_CURRENT', null ); +define( 'PROTO_CANONICAL', 1 ); +define( 'PROTO_INTERNAL', 2 );