Changeset 1764
- Timestamp:
- 09/30/2008 04:57:20 PM (2 months ago)
- Files:
-
- trunk/scripts/settings.class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/scripts/settings.class.php
r1763 r1764 461 461 if(JLOG_ADMIN AND empty($this->d['jlog_admin_password'])) $this->d['jlog_admin_password'] = JLOG_ADMIN_PASSWORD; 462 462 463 // erase last slashes 464 $this->d['jlog_path'] = trim($this->d['jlog_path'], '/'); 465 $this->d['jlog_basepath'] = trim($this->d['jlog_basepath'], '/'); 463 // remove slashes at the end of JLOG_PATH if present 464 $this->d['jlog_path'] = rtrim($this->d['jlog_path'], '/'); 465 // make shure JLOG_BASEPATH ends with a slash!! 466 $this->d['jlog_basepath'] = rtrim($this->d['jlog_basepath'], '/\\') . DIRECTORY_SEPARATOR; 466 467 467 468 // no quotes for bolean and numbers
