Can't view source code of php file
Created by: ghost
Hi guys,
Apparently seems that the GitLab "source code viewer" does not like php files.
When I try to access them in the browser from the gitlab interface I receive a gitlab blank page like the image below, and I am redirected to http://domain/projectname/master/tree
This is what has been recorded into the log:
Started GET "/gitlab2tracker-hook/master/tree/README.md" for 127.0.0.1 at 2012-05-11 15:33:42 +0100
Processing by RefsController#tree as JS
Parameters: {"project_id"=>"gitlab2tracker-hook", "id"=>"master", "path"=>"README.md"}
Rendered refs/_tree_file.html.haml (5.7ms)
Rendered refs/_tree.html.haml (8.9ms)
Rendered refs/tree.js.haml (9.6ms)
Completed 200 OK in 21ms (Views: 10.2ms | ActiveRecord: 0.4ms)
Started GET "/gitlab2tracker-hook/master/tree?_=1336746815379" for 127.0.0.1 at 2012-05-11 15:33:44 +0100
Processing by RefsController#tree as JS
Parameters: {"_"=>"1336746815379", "project_id"=>"gitlab2tracker-hook", "id"=>"master"}
Rendered refs/_tree_item.html.haml (11.9ms)
Rendered refs/_tree_item.html.haml (10.2ms)
Rendered refs/_tree_item.html.haml (10.5ms)
Rendered refs/_tree.html.haml (40.8ms)
Rendered refs/tree.js.haml (41.7ms)
Completed 200 OK in 57ms (Views: 42.4ms | ActiveRecord: 0.8ms)