install/includes/stages/website.php
changeset 407 35d94240a197
parent 391 85f91037cd4f
child 508 459a447d7e79
equal deleted inserted replaced
406:7468a663315f 407:35d94240a197
    32     // Send a series of tests to the server, and if we get an "expected" response
    32     // Send a series of tests to the server, and if we get an "expected" response
    33     setTimeout("ajaxGet(scriptPath + '/install/rewrite', __ajaxMrwTest_chain_rewrite);", 750);
    33     setTimeout("ajaxGet(scriptPath + '/install/rewrite', __ajaxMrwTest_chain_rewrite);", 750);
    34   }
    34   }
    35   var __ajaxMrwTest_chain_rewrite = function()
    35   var __ajaxMrwTest_chain_rewrite = function()
    36   {
    36   {
    37     if ( ajax.readyState == 4 )
    37     if ( ajax.readyState == 4 && ajax.status == 200 )
    38     {
    38     {
    39       if ( ajax.responseText == 'good_rewrite' )
    39       if ( ajax.responseText == 'good_rewrite' )
    40       {
    40       {
    41         ajaxMrwSet('rewrite');
    41         ajaxMrwSet('rewrite');
    42       }
    42       }
    46       }
    46       }
    47     }
    47     }
    48   }
    48   }
    49   var __ajaxMrwTest_chain_shortened = function()
    49   var __ajaxMrwTest_chain_shortened = function()
    50   {
    50   {
    51     if ( ajax.readyState == 4 )
    51     if ( ajax.readyState == 4 && ajax.status == 200 )
    52     {
    52     {
    53       if ( ajax.responseText == 'good_shortened' )
    53       if ( ajax.responseText == 'good_shortened' )
    54       {
    54       {
    55         ajaxMrwSet('standard');
    55         ajaxMrwSet('standard');
    56       }
    56       }
    60       }
    60       }
    61     }
    61     }
    62   }
    62   }
    63   var __ajaxMrwTest_chain_standard = function()
    63   var __ajaxMrwTest_chain_standard = function()
    64   {
    64   {
    65     if ( ajax.readyState == 4 )
    65     if ( ajax.readyState == 4 && ajax.status == 200 )
    66     {
    66     {
    67       if ( ajax.responseText == 'good_standard' )
    67       if ( ajax.responseText == 'good_standard' )
    68       {
    68       {
    69         ajaxMrwSet('standard');
    69         ajaxMrwSet('standard');
    70       }
    70       }