SkinTool.php bug?

Archived from the Xataface Developers forum.

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


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 — 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.