adding_custom_php_to_drupal_chron_directory
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
adding_custom_php_to_drupal_chron_directory [2017/08/18 08:59] – tomgle | adding_custom_php_to_drupal_chron_directory [2017/08/18 09:09] (current) – tomgle | ||
---|---|---|---|
Line 2: | Line 2: | ||
- | From Statckoverflow:\\ | + | From Stackoverflow:\\ |
If you need to run code just once, you can do it without installing any module, including the Devel module. | If you need to run code just once, you can do it without installing any module, including the Devel module. | ||
Line 12: | Line 12: | ||
*/ | */ | ||
define(' | define(' | ||
+ | | ||
include_once DRUPAL_ROOT . '/ | include_once DRUPAL_ROOT . '/ | ||
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); | drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); |
adding_custom_php_to_drupal_chron_directory.1503061199.txt.gz · Last modified: 2017/08/18 08:59 by tomgle