Make WordPress Core


Ignore:
Timestamp:
03/04/2008 05:10:17 PM (19 years ago)
Author:
ryan
Message:

wp-fs fixes from DD32. see #5586

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-filesystem-direct.php

    r7130 r7155  
    1414                $this->permission = $perm;
    1515        }
    16         function find_base_dir($base = '.'){
     16        function find_base_dir($base = '.', $echo = false){
    1717                return str_replace('\\','/',ABSPATH);
    1818        }
    19         function get_base_dir($base = '.'){
    20                 return str_replace('\\','/',ABSPATH);
     19        function get_base_dir($base = '.', $echo = false){
     20                return find_base_dir($base, $echo);
    2121        }
    2222        function get_contents($file){
Note: See TracChangeset for help on using the changeset viewer.