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
diff --git skinr.module skinr.module | |
index 5fd8418..97d2ead 100644 | |
--- skinr.module | |
+++ skinr.module | |
@@ -425,7 +425,12 @@ function skinr_rule_visible($rid) { | |
*/ | |
function skinr_module_load_all_includes() { | |
foreach (skinr_get_module_apis() as $module => $info) { | |
- module_load_include('skinr.inc', $module); | |
+ if (function_exists('drupal_get_path')) { |
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
<?php | |
/** | |
* Implements hook_skinr_info(). | |
* | |
* Define the API version of skin(s). This is required when creating a new skin. | |
* The theme or module version | |
* | |
* The "hook" prefix is substituted with the name of the module or theme that | |
* implements it, e.g. THEMENAME_PLUGINNAME_skinr_info(), or |
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
function p { | |
wget -O tmp.patch $1; patch -p0 < tmp.patch; d tmp.patch; | |
} | |
function d { | |
# cvs diff -upNF^f . > $1.patch | |
git diff --no-prefix HEAD . > $1.patch; | |
# Clean up to avoid possible issues. | |
rm -f $1.tmp.patch |