SkinTool.php bug?

A place to discuss development of the Xataface core.

Postby wreid » Thu Oct 26, 2006 12:59 pm

lines 94-99
have this:

if ( is_writable($GLOBALS['Dataface_Globals_Local_Templates_c']) ){
$this->compile_dir = $GLOBALS['Dataface_Globals_Local_Templates_c'];
} else if ( is_writable($GLOBALS['Dataface_Globals_Templates_c'])){
$this->compile_dir = $GLOBALS['Dataface_Globals_Templates_c'];
}

if both of these fail then $compile_dir on line 227
$compile_dir = $this->compile_dir.'/'.$skin;

is empty and will create a "Dataface" directory in the C:\ on windows and in root directory in *nix

Not sure if this is a bug or not, thought I should mention it.

Walter
wreid
 
Posts: 27
Joined: Wed Dec 31, 1969 5:00 pm

Postby silid » Thu Jan 18, 2007 5:17 am

i have this problem - it is trying to create a folder called /dataface on my file system - i am not sure why or what to do about it

si
silid
 
Posts: 4
Joined: Wed Dec 31, 1969 5:00 pm

Postby silid » Thu Jan 18, 2007 5:27 am

ok - i sorted it, i didn't realise that the dataface source folder had to be publicly accessible or to change the permissions of the templates folder.
silid
 
Posts: 4
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Developers

Who is online

Users browsing this forum: No registered users and 23 guests

Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved