Changeset 14
- Timestamp:
- Sep 12, 2005 10:31:49 PM (19 years ago)
- Location:
- trunk/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/App.inc.php
r13 r14 302 302 // and is used whenever a URL need be used to the current site. 303 303 // Not available on cli scripts obviously. 304 if (isset($_SERVER['SCRIPT_URI']) && '' != $_SERVER['SCRIPT_URI']) { 305 $site_url = parse_url($_SERVER['SCRIPT_URI']); 306 $this->setParam(array('site_url' => sprintf('%s://%s', $site_url['scheme'], $site_url['host']))); 304 if (isset($_SERVER['HTTP_HOST']) && '' != $_SERVER['HTTP_HOST']) { 305 $this->setParam(array('site_url' => sprintf('%s://%s', ('on' == getenv('HTTPS') ? 'https' : 'http'), getenv('HTTP_HOST')))); 307 306 } 308 307 -
trunk/lib/Auth_SQL.inc.php
r13 r14 36 36 37 37 // If using the db_login_table feature, specify the db_login_table. The primary key must match the primary key for the db_table. 38 'db_login_table' => ' login_tbl',38 'db_login_table' => 'user_login_tbl', 39 39 40 40 // The type of encryption to use for passwords stored in the db_table. Use one of the AUTH_ENCRYPT_* types specified above.
Note: See TracChangeset
for help on using the changeset viewer.