From: Don S. <ri...@us...> - 2004-06-14 21:20:04
|
Update of /cvsroot/phpwsbb/phpwsbb/boost In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8268/boost Modified Files: install.php uninstall.php Log Message: Using PHPWS_File::makeDir() Index: uninstall.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/boost/uninstall.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** uninstall.php 14 Jun 2004 04:16:43 -0000 1.8 --- uninstall.php 14 Jun 2004 21:19:54 -0000 1.9 *************** *** 23,26 **** --- 23,30 ---- */ + require_once(PHPWS_SOURCE_DIR . "core/File.php"); + require_once(PHPWS_SOURCE_DIR . "mod/language/class/Language.php"); + require_once(PHPWS_SOURCE_DIR . "mod/help/class/CLS_help.php"); + if(!$_SESSION["OBJ_user"]->isDeity()) { header("location:index.php"); *************** *** 37,45 **** // Remove help information - require_once(PHPWS_SOURCE_DIR . "mod/help/class/CLS_help.php"); CLS_help::uninstall_help("phpwsbb"); // Remove Language - require_once(PHPWS_SOURCE_DIR . "mod/language/class/Language.php"); PHPWS_Language::uninstallLanguages("phpwsbb"); --- 41,47 ---- Index: install.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/boost/install.php,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** install.php 9 Apr 2004 01:01:43 -0000 1.17 --- install.php 14 Jun 2004 21:19:54 -0000 1.18 *************** *** 23,26 **** --- 23,28 ---- */ + require_once(PHPWS_SOURCE_DIR . "core/File.php"); + if(!$_SESSION["OBJ_user"]->isDeity()) { header("location:index.php"); *************** *** 46,50 **** /* Create image directory */ ! mkdir($GLOBALS["core"]->home_dir . "images/phpwsbb"); if (is_dir($GLOBALS["core"]->home_dir . "images/phpwsbb")) { $content .= "phpwsBB image directory " . $GLOBALS["core"]->home_dir . "images/phpwsbb/ successfully created!<br />"; --- 48,52 ---- /* Create image directory */ ! PHPWS_File::makeDir($GLOBALS["core"]->home_dir . "images/phpwsbb"); if (is_dir($GLOBALS["core"]->home_dir . "images/phpwsbb")) { $content .= "phpwsBB image directory " . $GLOBALS["core"]->home_dir . "images/phpwsbb/ successfully created!<br />"; |