FIX: incorrect class
This commit is contained in:
parent
bb7dd2dceb
commit
146c34ac7c
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue