diff --git a/main/install/htaccess.dist b/main/install/htaccess.dist index 6151430f56..a1365a34d8 100755 --- a/main/install/htaccess.dist +++ b/main/install/htaccess.dist @@ -1,21 +1,21 @@ ########################################################################################### #change this file to fit your configuration and save it as .htaccess in the courses folder# ########################################################################################### -#dokeos mod rewrite +#chamilo mod rewrite #comment lines start with # and are not processed RewriteEngine On -#rewrite base is the dir dokeos is installed in with trailing slash +#rewrite base is the dir chamilo is installed in with trailing slash RewriteBase {CHAMILO_URL_APPEND_PATH}/courses/ #do not rewrite on the main dir #change this path to the path of your main folder -RewriteCond %{REQUEST_URI} !^{DOKEOS_URL_APPEND_PATH}/main/ +RewriteCond %{REQUEST_URI} !^{CHAMILO_URL_APPEND_PATH}/main/ #replace nasty ampersands by 3 slashes, we change these back in download.php RewriteRule ([^/]+)/document/(.*)&(.*)$ $1/document/$2///$3 [N] #rewrite everything in the document folder of a course to the download script -RewriteRule ([^/]+)/document/(.*)$ {DOKEOS_URL_APPEND_PATH}/main/document/download.php?doc_url=/$2&cDir=$1 [QSA,L] +RewriteRule ([^/]+)/document/(.*)$ {CHAMILO_URL_APPEND_PATH}/main/document/download.php?doc_url=/$2&cDir=$1 [QSA,L] \ No newline at end of file diff --git a/plugin/dashboard/block_evaluation_graph/block_evaluation_graph.class.php b/plugin/dashboard/block_evaluation_graph/block_evaluation_graph.class.php old mode 100755 new mode 100644 diff --git a/plugin/dashboard/block_evaluation_graph/block_evaluation_graph.info b/plugin/dashboard/block_evaluation_graph/block_evaluation_graph.info old mode 100755 new mode 100644 diff --git a/plugin/dashboard/block_evaluation_graph/css/default.css b/plugin/dashboard/block_evaluation_graph/css/default.css old mode 100755 new mode 100644