Open Source & Stuff  
  |     Main Site     |      Forum     |     Contact     |
Bugs & Comments :  forum.Salix.gr forum.Salix.gr
 
Goto Thread: PreviousNext
Goto: Forum ListMessage ListNew TopicSearchLog In
message$this->cur_path not acting right
Posted by: msimoens (IP Logged)
Date: July 11, 2007 12:52AM

I've seen that when you click on a folder to view the contents of that folder and then click the up arrow to go back a folder, it adds "../" to $this->cur_path.

So say you first browse: /home/images
and you click on the folder buttons so now you are in /home/images/buttons
You click on the up arrow to go back to /home/images but $this->cur_path now displays as /home/images/buttons/../

messageRe: $this->cur_path not acting right
Posted by: panos (IP Logged)
Date: July 11, 2007 10:06AM

Thats true partialy....
Initialy $this->cur_path is /home/images/buttons/../ but in function load_cur_dir_info it is done
$this->cur_path = str_replace('\\','/', realpath($this->cur_path)).'/';
and it is converted to /home/images/

Is there a chance that you have the initial version of the class?

And thank you for the possitive comments smiling smiley



Sorry, only registered users may post in this forum.

All Rights Reserved 2006 Salix.gr  |  Design by Ades Design |  Hosting by e-emporio |  forum.Salix.gr powered by Phorum