FIX: incorrect class

This commit is contained in:
Will Rossiter 2012-09-09 18:19:41 +12:00
parent bb7dd2dceb
commit 146c34ac7c
1 changed files with 6 additions and 2 deletions

View File

@ -27,8 +27,8 @@ DocumentationViewer::$check_permission = false;
DocumentationService::set_automatic_registration(false);
DocumentationSearch::enable();
try{
DocumentationService::register("framework", BASE_PATH ."/src/framework_master/docs/", 'trunk');
try {
DocumentationService::register("framework", BASE_PATH ."/src/framework/docs/", 'trunk');
DocumentationService::register("framework", BASE_PATH ."/src/framework_3.0/docs/", '3.0');
DocumentationService::register("framework", BASE_PATH ."/src/framework_2.4/docs/", '2.4');
DocumentationService::register("framework", BASE_PATH ."/src/framework_2.3/docs/", '2.3');
@ -47,6 +47,10 @@ DocumentationViewer::set_edit_link(
Object::add_extension('Controller', 'ControllerExtension');
if(Director::isLive()) {
ControllerExtension::$google_analytics_code = 'UA-84547-8';
}
Validator::set_javascript_validation_handler('none');
DocumentationSearch::set_meta_data(array(