]> Lady’s Gitweb - Gitweb/blobdiff - gitweb.perl
gitweb: Fix typo in run() subroutine
[Gitweb] / gitweb.perl
index 8aef3fdf048f510095c4c20c6404e3611a0751d807c1421cd1d2cc3b92242513..13f4a3da5185c6644d320998f396aeb6c1cbc561f085a5ef95d4c8188ff66dc6 100755 (executable)
@@ -1061,8 +1061,12 @@ sub run_request {
        reset_timer();
 
        evaluate_uri();
+       evaluate_gitweb_config();
        check_loadavg();
 
+       # $projectroot and $projects_list might be set in gitweb config file
+       $projects_list ||= $projectroot;
+
        evaluate_query_params();
        evaluate_path_info();
        evaluate_and_validate_params();
@@ -1110,12 +1114,8 @@ sub evaluate_argv {
 
 sub run {
        evaluate_argv();
-       evaluate_gitweb_config();
        evaluate_git_version();
 
-       # $projectroot and $projects_list might be set in gitweb config file
-       $projects_list ||= $projectroot;
-
        $pre_listen_hook->()
                if $pre_listen_hook;
 
@@ -1126,7 +1126,7 @@ sub run {
 
                run_request();
 
-               $pre_dispatch_hook->()
+               $post_dispatch_hook->()
                        if $post_dispatch_hook;
 
                last REQUEST if ($is_last_request->());
This page took 0.179656 seconds and 4 git commands to generate.