phpwcms_version variable
-
- Posts: 112
- Joined: Sun 11. Jan 2004, 23:13
- Location: Merseburg, Germany
- Contact:
phpwcms_version variable
hi, i was looking in the forum if there is still a existing variable like $phpwcms_version or something like that. but i did not find anything like this.
is there still a variable like this?
If you have several (multiple) instances of phpwcms running on one server, it would be cool to know which version (with updates and patches) you are running on when you login into the backend.
Maybe I'm blind and haven't found it yet. Would be cool if you could tell me if there is something existing like that yet.
If not, why not integrating? shouldn't be so difficult i think and i think it's very usefull.
cheers
is there still a variable like this?
If you have several (multiple) instances of phpwcms running on one server, it would be cool to know which version (with updates and patches) you are running on when you login into the backend.
Maybe I'm blind and haven't found it yet. Would be cool if you could tell me if there is something existing like that yet.
If not, why not integrating? shouldn't be so difficult i think and i think it's very usefull.
cheers
-
- Posts: 112
- Joined: Sun 11. Jan 2004, 23:13
- Location: Merseburg, Germany
- Contact:
-
- Posts: 112
- Joined: Sun 11. Jan 2004, 23:13
- Location: Merseburg, Germany
- Contact:
yoh, but this variable contains for example "1.1-RC2"
So you don't know which patch you already installed and which not.
ok, you could collect all cangelog-files and then you know.
I know, with little work, I can obtain the information, which patches i have installed, and so on.
But what I'm dreaming of, is a variable or function, that tells me really what version (with updates and patches) i have installed.
I saw, that the changelog files now moved into an seperate folder. One solution could be just to read the files from the folder and sort it by date and then list the newest, or something like that.
or maybe to read the whole folder and list an installing history. but so you could read in the backend what you have installed, with no click (or just one), without looking in the filesystem on the server.
As i said, no problem when you are just running on one phpwcms installation. but when you are running with multiple, then it is good to know which specific version you are running. (it's easier and faster)
and, don't forget... it's just a feature request ;-) (but i think a good one) :-))
So you don't know which patch you already installed and which not.
ok, you could collect all cangelog-files and then you know.
I know, with little work, I can obtain the information, which patches i have installed, and so on.
But what I'm dreaming of, is a variable or function, that tells me really what version (with updates and patches) i have installed.
I saw, that the changelog files now moved into an seperate folder. One solution could be just to read the files from the folder and sort it by date and then list the newest, or something like that.
or maybe to read the whole folder and list an installing history. but so you could read in the backend what you have installed, with no click (or just one), without looking in the filesystem on the server.
As i said, no problem when you are just running on one phpwcms installation. but when you are running with multiple, then it is good to know which specific version you are running. (it's easier and faster)
and, don't forget... it's just a feature request ;-) (but i think a good one) :-))
I see what you are saying now. I am working on a plugin framework that will register plugins and most likely it could handle patches as well so this could be a part of that very easily. If you have any ideas or thoughts on other aspects to managing a lot of different phpwcms site with different plugins/features I would love to hear them. I would like to use phpwcms in a similar way so it would be good to get more perspectives.
- Fulvio Romanin
- Posts: 394
- Joined: Thu 4. Dec 2003, 11:12
- Location: Udine, Italy
- Contact:
Have a look in http://www.phpwcms.de/forum/viewtopic.php?t=1146.
There a patch can be found to include the version-variable and new replacment tag.
There a patch can be found to include the version-variable and new replacment tag.