Search found 2 matches

by KlausM
Fri Feb 22, 2008 7:04 pm
Forum: Joombie Coding Q/A
Topic: [J1.5] Problem with is_dir
Replies: 1
Views: 104

Re: [J1.5] Problem with is_dir

before 1.5 JURI::base() was $mosConfig_absolute_path; perhaps it's helpful to help me. i tried some other things and came to JRequest::getString('joomla_directory'); which seems to work. the JURI-thing returns the web-address (http://localhost...), this one returns the path (e.g. D:/...). Is this me...
by KlausM
Fri Feb 22, 2008 4:32 pm
Forum: Joombie Coding Q/A
Topic: [J1.5] Problem with is_dir
Replies: 1
Views: 104

[J1.5] Problem with is_dir

Hey, i'm just starting programming with php and am trying to convert a plugin. i have a problem with is_dir. my code: $path = 'images/stories/fruit'; $fullpath = JURI::base() . $path."/"; if ( is_dir($fullpath)) { ..... } else die ("Path is not a directory: " .$fullpath); althoug...