HMBeaty |
10-08-2011 12:02 AM |
Quote:
Originally Posted by mgcom
(Post 2254376)
after i installed this i'm getting a pop window asking for ftp details ???
|
Lol! Wow! That's interesting as it didn't do that during testing. Anyway, let me explain what it's doing upon installation.... If you had installed the previous versions, I converted the plugins to files so they would be easier for me to edit, however, it got somewhat confusing after awhile, so I decided to convert them back to regular plugins. I also came across a code to automatically remove files/directories, which I added to the installation code. So, this code:
PHP Code:
$navFile1 = "./includes/hooks/navnet/admin_options_processing.php"; $navFile2 = "./includes/hooks/navnet/parse_templates.php"; $navDir = "./includes/hooks/navnet"; $mainDir = "./includes/hooks/";
if (@is_file($navFile1)) {unlink($navFile1);} if (@is_file($navFile2)) {unlink($navFile2);} if (@is_dir($navDir)) {rmdir($navDir);}
$dp = opendir($mainDir); $count = 0; while (($dir = readdir($dp)) !== false) $count++;
if ($count <= 2) { rmdir($mainDir); }
does nothing more than remove the previously uploaded files from the previous versions (if they exist) and if the directory
is empty, it will automatically remove that for you as well (again, if it exists). :D
I apologize for the confusion :o
|