-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Script to automatically update the lbd logo: https://www.labdoo.org…
…/content/develop-script-automatically-update-lbd-logo - Adds links to the next and prev pages in wiki book: https://www.labdoo.org/content/add-links-next-and-prev-pages-wiki-book
- Loading branch information
1 parent
dd9c1d5
commit c83f263
Showing
4 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
// | ||
// This script allows you to change the site logo image. | ||
// Run it using: | ||
// $ drush @lbd php-script lbd-set-logo.php | ||
// | ||
|
||
$theme_name = 'bootstrap1'; | ||
$var_name = 'theme_' . $theme_name . '_settings'; | ||
$settings = variable_get($var_name, array()); | ||
// Set here the site logo image | ||
$settings['logo_path'] = 'profiles/labdoo/files/pictures/labdoo-site-logo.png'; | ||
variable_set($var_name, $settings); | ||
|
||
?> | ||
|