Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ui-test.php « environment « config - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 738d1556dbf2c7bfd2718842ded17c49e63f194f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php

return array(

    'observers.global' => array(

        array('Request.dispatch.end', function (&$result) {
            // remove the port from URLs if any so UI tests won't fail if the port isn't 80
            $result = preg_replace('/localhost:[0-9]+/', 'localhost', $result);
        }),

    ),

);