LebGeeks

A community for technology geeks in Lebanon.

You are not logged in.

#1 May 24 2006

mahdoum
Member

Managing Modules

I have a modules folder and inside it each module gets a folder. What I want to do is to put a config file in each module version to hold information like module name, module version etc... The reason for this is the way I am currently planning to list these modules is to use a combination of readdir and fread to find all module folders, and then read the information of the module (mainly name) from the config file.

I am now trying to think of another better way to do this, because I think I am complicating things, and it could be done easier... any suggestions?

Modules (Folder)
    |
    |___ News (Folder)
    |           |___File1
    |           |___File2
    |
    |___ Mailing List (Folder)
                |___File1
                |___File2

Offline

#2 May 24 2006

mahdoum
Member

Re: Managing Modules

nevermind solved my problem ;)

Offline

#3 May 25 2006

mir
Member

Re: Managing Modules

Umm...
post1 : Yesterday 10:25
post2 : Yesterday 12:48

Well lool ..u did not give time to answer
You actually post a question and answer 4 it lool .. that is a good active user  (jokin)

Good u solved the problem ...that's what matters in the end

Offline

#4 May 25 2006

mahdoum
Member

Re: Managing Modules

I've had this problem for some time, so I keep working on it till I find the answer, I posted to see if anyone was alive to help as well (incase i didn't find the solution)

Offline

Board footer