Commit 99f60bfb authored by omega8cc's avatar omega8cc
Browse files

Sync subdirectory support.

parent 7eda393d
......@@ -17,6 +17,15 @@ print '<?php' ?>
* to avoid further confusion.
*/
<?php if ($subdirs_support_enabled): ?>
/**
* Detecting subdirectory mode
*/
if (isset($_SERVER['SITE_SUBDIR']) && isset($_SERVER['RAW_HOST'])) {
$base_url = 'http://' . $_SERVER['RAW_HOST'] . '/' . $_SERVER['SITE_SUBDIR'];
}
<?php endif; ?>
<?php if ($this->cloaked): ?>
if (isset($_SERVER['db_name'])) {
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment