Changeset 695082
- Timestamp:
- 04/10/2013 08:23:35 AM (13 years ago)
- Location:
- eazyest-gallery
- Files:
-
- 2 edited
-
branches/0.1/eazyest-gallery.php (modified) (2 diffs)
-
trunk/eazyest-gallery.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
eazyest-gallery/branches/0.1/eazyest-gallery.php
r695055 r695082 9 9 * Author: Brimosoft 10 10 * Author URI: http://brimosoft.nl 11 * Version: 0.1.1-alpha-3 1811 * Version: 0.1.1-alpha-321 12 12 * Text Domain: eazyest-gallery 13 13 * Domain Path: /languages/ … … 483 483 function home_dir() { 484 484 if ( isset( $_SERVER['DOCUMENT_ROOT'] ) ) 485 return trailingslashit( str_replace( array( '/', '\\'), '/', $_SERVER['DOCUMENT_ROOT']) );485 return trailingslashit( str_replace( array( '/', '\\'), '/', realpath( $_SERVER['DOCUMENT_ROOT'] ) ) ); 486 486 487 487 // document root is not set, try to find root from settings -
eazyest-gallery/trunk/eazyest-gallery.php
r695076 r695082 9 9 * Author: Brimosoft 10 10 * Author URI: http://brimosoft.nl 11 * Version: 0.2.0-alpha-32 011 * Version: 0.2.0-alpha-321 12 12 * Text Domain: eazyest-gallery 13 13 * Domain Path: /languages/ 14 14 * License: GNU General Public License, version 3 15 15 * 16 * @version 0.2.0 (r32 0)16 * @version 0.2.0 (r321) 17 17 * @package Eazyest Gallery 18 18 * @subpackage Main … … 52 52 * 53 53 * @since lazyest-gallery 0.16.0 54 * @version 0.2.0 (r3 18)54 * @version 0.2.0 (r321) 55 55 * @access public 56 56 */ … … 483 483 function home_dir() { 484 484 if ( isset( $_SERVER['DOCUMENT_ROOT'] ) ) 485 return trailingslashit( str_replace( array( '/', '\\'), '/', $_SERVER['DOCUMENT_ROOT']) );485 return trailingslashit( str_replace( array( '/', '\\'), '/', realpath( $_SERVER['DOCUMENT_ROOT'] ) ) ); 486 486 487 487 // document root is not set, try to find root from settings
Note: See TracChangeset
for help on using the changeset viewer.