From: Eloi G. <ada...@us...> - 2004-08-21 17:38:56
|
Update of /cvsroot/phpwebsite-comm/modules/article/boost In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8062/boost Modified Files: install.php uninstall.php update.php Log Message: 2.6 Release Files Index: uninstall.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/article/boost/uninstall.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** uninstall.php 21 Aug 2004 17:02:06 -0000 1.4 --- uninstall.php 21 Aug 2004 17:37:46 -0000 1.5 *************** *** 16,21 **** $content .= "All tables successfully removed.<br />"; ! $content .= "Removing images directory ".PHPWS_HOME_DIR."images/article<br />"; ! system("rm -rf " . PHPWS_HOME_DIR . "images/article", $temp); /* Unregister from Help */ --- 16,21 ---- $content .= "All tables successfully removed.<br />"; ! $content .= "Removing images directory ".$GLOBALS['core']->home_dir."images/article<br />"; ! system("rm -rf " . $GLOBALS['core']->home_dir . "images/article", $temp); /* Unregister from Help */ Index: install.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/article/boost/install.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** install.php 18 Jun 2004 23:30:28 -0000 1.5 --- install.php 21 Aug 2004 17:37:46 -0000 1.6 *************** *** 43,47 **** function makedir ($dir) { ! $dirname = PHPWS_HOME_DIR . $dir; if (is_dir($dirname)) { --- 43,47 ---- function makedir ($dir) { ! $dirname = $GLOBALS['core']->home_dir . $dir; if (is_dir($dirname)) { Index: update.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/article/boost/update.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** update.php 21 Aug 2004 17:02:06 -0000 1.8 --- update.php 21 Aug 2004 17:37:46 -0000 1.9 *************** *** 98,104 **** $oldname = "themes/$theme/templates/article/section/".$file; $newname = "themes/$theme/templates/article/section/".str_replace(' ','_',$file); ! if (!file_exists(PHPWS_HOME_DIR . $oldname)) return; ! if (rename(PHPWS_HOME_DIR.$oldname, PHPWS_HOME_DIR.$newname)) return $file.' was Renamed.<br />'; else --- 98,104 ---- $oldname = "themes/$theme/templates/article/section/".$file; $newname = "themes/$theme/templates/article/section/".str_replace(' ','_',$file); ! if (!file_exists($GLOBALS['core']->home_dir . $oldname)) return; ! if (rename($GLOBALS['core']->home_dir.$oldname, $GLOBALS['core']->home_dir.$newname)) return $file.' was Renamed.<br />'; else *************** *** 300,308 **** $content .= 'Re-registering with the Search Module....Done.<br />'; require_once(PHPWS_SOURCE_DIR.'mod/search/class/Search.php'); - PHPWS_Search::register('article'); $content .= 'Update Complete!'; } - - $_SESSION['OBJ_help']->uninstall_help('article'); - $_SESSION['OBJ_help']->setup_help('article'); ?> \ No newline at end of file --- 300,304 ---- |