Menu

#45 Minor ImageLib fixes

Core Module
closed-fixed
Code/Logic (73)
5
2006-01-09
2004-10-04
Eloi George
No

Function create_library() wasn't fully explaining why
it exits when the directory creation failed due to
improper permissions, so I changed the code to use the
core function PHPWS_File::makeDir() and added the
following exit message:

'ERROR (PHPWS_IMGLib): Couldn\'t create directory
"'.$a.'"<br />Make sure that the proper permissions are
set in the parent directories.'

ImageLib also generated the following Notice:

Notice: Undefined variable: bg in
/www/r/realvidreams/htdocs/933/core/ImgLibrary.php on
line 395

This was fixed by inserting the following after line 393:

$bg = '';

Discussion

  • Eloi George

    Eloi George - 2004-10-04

    Patched ImgLibrary.php

     
  • Eloi George

    Eloi George - 2004-10-04
    • summary: Minor ImageLib fixes. --> Minor ImageLib fixes
     
  • Shaun Murray

    Shaun Murray - 2006-01-09

    Logged In: YES
    user_id=722742

    In CVS now

     
  • Shaun Murray

    Shaun Murray - 2006-01-09
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB