Changeset 451068
- Timestamp:
- 10/14/2011 01:35:49 PM (14 years ago)
- File:
-
- 1 edited
-
sexybookmarks/trunk/includes/helper-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sexybookmarks/trunk/includes/helper-functions.php
r435467 r451068 307 307 } 308 308 309 //Change the directory path to webpath 310 function shr_dir_to_path($dir){ 311 if(!$dir){ 312 return false; 313 } 314 $path = get_option("siteurl"); 315 if(substr($path, -1) != '/'){ 316 $path .= '/'; 317 } 318 $path .= substr($dir , strlen(ABSPATH)); 319 return $path; 320 } 321 309 322 /** 310 323 * @desc dump the sexybookmark settings from the database
Note: See TracChangeset
for help on using the changeset viewer.