Skip to content

Commit a890fa1

Browse files
committed
Merge pull request Cacti#33 from micke2k/features/installupdate
minor fix for install/index.php
2 parents 515f37d + 63abf53 commit a890fa1

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

install/index.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ function install_file_paths () {
814814
}elseif ($step == '2') {
815815

816816
print '<h2>Pre-installation Check</h2><br>';
817-
print 'Cacti requies several PHP Modules to be installed to work properly. If any of these are not installed, you will be unable to continue the installation until corrected.<br><br>';
817+
print 'Cacti requries several PHP Modules to be installed to work properly. If any of these are not installed, you will be unable to continue the installation until corrected.<br><br>';
818818

819819
html_start_box("<strong> " . __("Required PHP Modules") . "</strong>", "30", 0, "", "", false);
820820
html_header(array(array('name' => 'Name'), array('name' => 'Required'), array('name' => 'Installed')));
@@ -831,6 +831,7 @@ function install_file_paths () {
831831
array('name' => 'xml', 'installed' => false),
832832
array('name' => 'pcre', 'installed' => false),
833833
array('name' => 'json', 'installed' => false),
834+
array('name' => 'zlib', 'installed' => false)
834835
);
835836

836837
$ext = verify_php_extensions($extensions);
@@ -986,7 +987,7 @@ function install_file_paths () {
986987
if (is_writable('../resource/snmp_queries')) {
987988
print " <p>". $config['base_path'] . "/resource/snmp_queries is <font color='#008000'>writable</font></p>";
988989
} else {
989-
print " <p>". $config['base_path'] . "/resource/script_server is <font color='#FF0000'>not writable</font></p>";
990+
print " <p>". $config['base_path'] . "/resource/snmp_queries is <font color='#FF0000'>not writable</font></p>";
990991
$writable=FALSE;
991992
}
992993

@@ -1006,11 +1007,12 @@ function install_file_paths () {
10061007

10071008
/* Print help message for unix and windows if directory is not writable */
10081009
if (($config['cacti_server_os'] == "unix") && isset($writable)) {
1009-
print "Make sure your webserver has read and write access to the entire folder structure.<br> Example: chown -R apache.apache " . $config['base_path'] . "/resource<br><br>";
1010+
print "Make sure your webserver has read and write access to the entire folder structure.<br> Example: chown -R apache.apache " . $config['base_path'] . "/resource/<br>";
1011+
print "For SELINUX users make sure that you have the correct permissions or set 'setenforce 0' temporarly.<br><br>";
10101012
}elseif (($config['cacti_server_os'] == "win32") && isset($writable)){
10111013
print 'Check Permissions';
10121014
}else {
1013-
print '<font color="#008000">All folders is writable</font><br><br>';
1015+
print '<font color="#008000">All folders are writable</font><br><br>';
10141016
} ?>
10151017

10161018

0 commit comments

Comments
 (0)