Browse Source

chamilotheme replaced with chamilocore

Julio Montoya 9 years ago
parent
commit
1a2245cbf1
2 changed files with 5 additions and 5 deletions
  1. 3 3
      app/config/config.yml
  2. 2 2
      main/inc/lib/api.lib.php

+ 3 - 3
app/config/config.yml

@@ -243,13 +243,13 @@ ivory_ck_editor:
             path:     "/bundles/chamilocore/ckeditor/plugins/wordcount"
             filename: "plugin.js"
 #        adobeair:
-#            path:     "/bundles/chamilotheme/components/ckeditor/plugins/adobeair"
+#            path:     "/bundles/chamilocore/components/ckeditor/plugins/adobeair"
 #            filename: "plugin.js"
 #        iframedialog:
-#            path:     "/bundles/chamilotheme/components/ckeditor/plugins/iframedialog"
+#            path:     "/bundles/chamilocore/components/ckeditor/plugins/iframedialog"
 #            filename: "plugin.js"
 #        docprops:
-#            path:     "/bundles/chamilotheme/components/ckeditor/plugins/docprops"
+#            path:     "/bundles/chamilocore/components/ckeditor/plugins/docprops"
 #            filename: "plugin.js"
 #
 

+ 2 - 2
main/inc/lib/api.lib.php

@@ -6587,13 +6587,13 @@ function api_get_bundle_asset($file, $justPath = false)
  */
 function api_get_theme_asset($file, $justPath = false)
 {
-    return api_get_bundle_asset('chamilotheme/components/'.$file, $justPath);
+    return api_get_bundle_asset('chamilocore/components/'.$file, $justPath);
 }
 
 function api_get_theme_asset_css($file)
 {
     $path = str_replace('/chamilocore/img', '', api_get_path(WEB_IMG_PATH));
-    $file = $path.'chamilotheme/components/'.$file;
+    $file = $path.'chamilocore/components/'.$file;
 
     return api_get_css($file, 'screen');
 }