Changeset 1765 for branches/branch-1_6/include
- Timestamp:
- Jan 29, 2007, 9:07:37 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1_6/include/functions.inc.php
r1689 r1765 627 627 function url_is_remote($url) 628 628 { 629 if (preg_match('/^https?:\/\/[~\/\.\w-]+$/', $url)) 629 if ( strncmp($url, 'http://', 7)==0 630 or strncmp($url, 'https://', 8)==0 ) 630 631 { 631 632 return true;
Note: See TracChangeset
for help on using the changeset viewer.