Bumped version to 0.8
This commit is contained in:
parent
37f4bd4185
commit
c500face92
|
@ -7,9 +7,6 @@ Copyright (C) 2011-2023 Thomas Hooge
|
|||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*****************************************************************************/
|
||||
|
||||
// version
|
||||
$config_version = 'v0.7';
|
||||
|
||||
// db connection
|
||||
$config_mysql_host = 'localhost';
|
||||
$config_mysql_username = 'ipreg';
|
||||
|
@ -22,7 +19,6 @@ $config_color_unused = 'ffffff';
|
|||
$config_color_dynamic = 'e0e0e0';
|
||||
|
||||
// language
|
||||
$config_lang = array('de', 'en');
|
||||
$config_lang_default = 'en';
|
||||
|
||||
?>
|
||||
|
|
|
@ -2,8 +2,8 @@ IP Reg Installation
|
|||
|
||||
1. Install requirements
|
||||
IP Reg version 0.6 and up depends on smarty template engine.
|
||||
In Debian install ist with: "apt-get install smarty3".
|
||||
The GHP-GD module is also required: "apt-get install php-gd".
|
||||
In Debian install it with: "apt-get install smarty3".
|
||||
The PHP-GD module is also required: "apt-get install php-gd".
|
||||
|
||||
|
||||
2. Create database
|
||||
|
@ -28,17 +28,21 @@ Optional import some sample data
|
|||
mysql ipreg < mysql_sample.sql
|
||||
|
||||
|
||||
4. Edit config file
|
||||
Open config.php in a text editor and fill in your database details.
|
||||
|
||||
|
||||
5. Upload files
|
||||
Upload all files and directory's (except the install directory) to your
|
||||
4. Upload files
|
||||
Upload all files and directories (except the install directory) to your
|
||||
webserver.
|
||||
|
||||
|
||||
5. Create and edit config file
|
||||
Rename sample configfile config.php-sample:
|
||||
mv config.php-sample config.php
|
||||
|
||||
Open config.php in a text editor and fill in your database details.
|
||||
|
||||
|
||||
6. Check file access rights for security
|
||||
Only directory tpl_c should be writeble by webserver
|
||||
Only directory tpl_c should be writeble by webserver.
|
||||
Configfile should be readable by webserver but not writeable.
|
||||
|
||||
chmod 640 config.php
|
||||
chgrp www-data config.php
|
||||
|
|
|
@ -207,12 +207,14 @@ $lang = array(
|
|||
'lang_about_license_ext' => 'Copyright (C) 2007-2009 Wietse Warendorff (up to v0.5)<br>Copyright (C) 2011-2023 Thomas Hooge<p>This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.<p>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.<p> You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.',
|
||||
|
||||
'lang_about_changelog' => 'Changelog (major changes only)',
|
||||
'lang_about_changelog_v08' => 'v0.8 (feb 2023)',
|
||||
'lang_about_changelog_v08_ext' => '- Some small improvements and bugfixing<br>- Code simplification as preparation for big refactoring',
|
||||
'lang_about_changelog_v07' => 'v0.7 (oct 2018)',
|
||||
'lang_about_changelog_v07_ext' => '- Added support for PHP7, switched to mysqli',
|
||||
'lang_about_changelog_v06' => 'v0.6 (may 2011)',
|
||||
'lang_about_changelog_v06_ext' => '- Moved towards smarty template engine<br />- language support finalized<br />- added german language<br />- some small bug fixes',
|
||||
'lang_about_changelog_v06_ext' => '- Moved towards smarty template engine<br />- language support finalized<br>- added german language<br>- some small bug fixes',
|
||||
'lang_about_changelog_v05' => 'v0.5 (dec 2009)',
|
||||
'lang_about_changelog_v05_ext' => '- Complete code rewrite<br>- Input sanitation<br>- Background image<br>- Added multiple counters<br>- HTML is now 100% W3C valid<br>More user options',
|
||||
'lang_about_changelog_v05_ext' => '- Complete code rewrite<br>- Input sanitation<br>- Background image<br>- Added multiple counters<br>- HTML is now 100% W3C valid<br>- More user options',
|
||||
'lang_about_changelog_v04' => 'v0.4 (jun 2008)',
|
||||
'lang_about_changelog_v04_ext' => '- SQL vulnerability fixed<br>- PHP-generated images in subnet overview',
|
||||
'lang_about_changelog_v03' => 'v0.3 (dec 2007)',
|
||||
|
|
|
@ -207,12 +207,14 @@ $lang = array(
|
|||
'lang_about_license_ext' => 'Copyright (C) 2007-2009 Wietse Warendorff (up to v0.5)<br>Copyright (C) 2011-2023 Thomas Hooge<p>This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.<p>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.<p> You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.',
|
||||
|
||||
'lang_about_changelog' => 'Changelog (major changes only)',
|
||||
'lang_about_changelog_v08' => 'v0.8 (feb 2023)',
|
||||
'lang_about_changelog_v08_ext' => '- Some small improvements and bugfixing<br>- Code simplification as preparation for big refactoring',
|
||||
'lang_about_changelog_v07' => 'v0.7 (oct 2018)',
|
||||
'lang_about_changelog_v07_ext' => '- Added support for PHP7, switched to mysqli',
|
||||
'lang_about_changelog_v06' => 'v0.6 (may 2011)',
|
||||
'lang_about_changelog_v06_ext' => '- Moved towards smarty template engine<br />- language support finalized<br />- added german language<br />- some small bug fixes',
|
||||
'lang_about_changelog_v06_ext' => '- Moved towards smarty template engine<br />- language support finalized<br>- added german language<br>- some small bug fixes',
|
||||
'lang_about_changelog_v05' => 'v0.5 (dec 2009)',
|
||||
'lang_about_changelog_v05_ext' => '- Complete code rewrite<br>- Input sanitation<br>- Background image<br>- Added multiple counters<br>- HTML is now 100% W3C valid<br>More user options',
|
||||
'lang_about_changelog_v05_ext' => '- Complete code rewrite<br>- Input sanitation<br>- Background image<br>- Added multiple counters<br>- HTML is now 100% W3C valid<br>- More user options',
|
||||
'lang_about_changelog_v04' => 'v0.4 (jun 2008)',
|
||||
'lang_about_changelog_v04_ext' => '- SQL vulnerability fixed<br>- PHP-generated images in subnet overview',
|
||||
'lang_about_changelog_v03' => 'v0.3 (dec 2007)',
|
||||
|
|
6
lib.php
6
lib.php
|
@ -7,6 +7,12 @@ Copyright (C) 2011-2023 Thomas Hooge
|
|||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*****************************************************************************/
|
||||
|
||||
// global version string
|
||||
$config_version = 'v0.8';
|
||||
|
||||
// available languages
|
||||
$config_lang = array('de', 'en');
|
||||
|
||||
include("lib/functions.php");
|
||||
|
||||
require("lib/db.class.php");
|
||||
|
|
|
@ -83,6 +83,14 @@
|
|||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_about_changelog_v08}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$lang_about_changelog_v08_ext}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_about_changelog_v07}
|
||||
|
|
Loading…
Reference in New Issue