Rename sites directory to be the new config repository
This commit is contained in:
parent
006992b900
commit
433e7eec80
31 changed files with 196 additions and 216 deletions
|
@ -1047,7 +1047,7 @@ function ckeditor_process_textarea($element) {
|
|||
foreach ($stylesheets as $name => $path) {
|
||||
// Checks if less module exists...
|
||||
if (strstr($path, '.less') && module_exists('less')) {
|
||||
$path = 'sites/default/files/less/' . $path; // append the less file path
|
||||
$path = 'config/default/files/less/' . $path; // append the less file path
|
||||
$path = str_replace('.less', '', $path); // remove the .less
|
||||
}
|
||||
if (file_exists($path)) {
|
||||
|
@ -1207,11 +1207,11 @@ function ckeditor_path($local = FALSE, $refresh = FALSE) {
|
|||
$global_profile = ckeditor_profile_load('CKEditor Global Profile', $refresh);
|
||||
|
||||
//default: path to ckeditor subdirectory in the ckeditor module directory (starting from the document root)
|
||||
//e.g. for http://example.com/drupal it will be /drupal/sites/all/modules/ckeditor/ckeditor
|
||||
//e.g. for http://example.com/drupal it will be /drupal/modules/ckeditor/ckeditor
|
||||
$cke_path = base_path() . $mod_path .'/ckeditor';
|
||||
|
||||
//default: path to ckeditor subdirectory in the ckeditor module directory (relative to index.php)
|
||||
//e.g.: sites/all/modules/ckeditor/ckeditor
|
||||
//e.g.: modules/ckeditor/ckeditor
|
||||
$cke_local_path = $mod_path .'/ckeditor';
|
||||
if ($global_profile) {
|
||||
$gs = $global_profile->settings;
|
||||
|
@ -1279,11 +1279,11 @@ function ckeditor_plugins_path($local = FALSE, $refresh = FALSE) {
|
|||
$global_profile = ckeditor_profile_load('CKEditor Global Profile', $refresh);
|
||||
|
||||
//default: path to plugins subdirectory in the ckeditor module directory (starting from the document root)
|
||||
//e.g. for http://example.com/drupal it will be /drupal/sites/all/modules/ckeditor/plugins
|
||||
//e.g. for http://example.com/drupal it will be /drupal/modules/ckeditor/plugins
|
||||
$cke_plugins_path = base_path() . $mod_path .'/plugins';
|
||||
|
||||
//default: path to plugins subdirectory in the ckeditor module directory (relative to index.php)
|
||||
//e.g.: sites/all/modules/ckeditor/plugins
|
||||
//e.g.: modules/ckeditor/plugins
|
||||
$cke_plugins_local_path = $mod_path .'/plugins';
|
||||
|
||||
if ($global_profile) {
|
||||
|
@ -1352,7 +1352,7 @@ function ckfinder_path($refresh = FALSE) {
|
|||
$global_profile = ckeditor_profile_load('CKEditor Global Profile', $refresh);
|
||||
|
||||
//default: path to ckeditor subdirectory in the ckeditor module directory (starting from the document root)
|
||||
//e.g. for http://example.com/drupal it will be /drupal/sites/all/modules/ckeditor/ckeditor
|
||||
//e.g. for http://example.com/drupal it will be /drupal/modules/ckeditor/ckeditor
|
||||
$ckf_path = $mod_path . '/ckfinder';
|
||||
if ($global_profile) {
|
||||
$gs = $global_profile->settings;
|
||||
|
|
Reference in a new issue