Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Eric Rasmussen
UNL-CMS
Commits
22a57260
Commit
22a57260
authored
Sep 28, 2012
by
Eric Rasmussen
Browse files
[gh-465] Fix include paths in the moved unl_multisite/cron.php
parent
18f6d807
Changes
1
Hide whitespace changes
Inline
Side-by-side
sites/all/modules/unl_multisite/cron.php
View file @
22a57260
...
...
@@ -15,13 +15,13 @@ if (PHP_SAPI != 'cli') {
exit
;
}
chdir
(
dirname
(
__FILE__
)
.
'/../../../..
/..
'
);
chdir
(
dirname
(
__FILE__
)
.
'/../../../..'
);
define
(
'DRUPAL_ROOT'
,
getcwd
());
require_once
DRUPAL_ROOT
.
'/includes/bootstrap.inc'
;
require_once
dirname
(
dirname
(
__FILE__
))
.
'/includes/common.php'
;
drupal_override_server_variables
();
drupal_bootstrap
(
DRUPAL_BOOTSTRAP_FULL
);
require_once
drupal_get_path
(
'module'
,
'unl'
)
.
'/includes/common.php'
;
unl_edit_sites
();
unl_remove_aliases
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment