rpms/glpi/devel glpi-check.patch,NONE,1.1
Remi Collet (remi)
fedora-extras-commits at redhat.com
Sat Aug 9 12:49:54 UTC 2008
- Previous message (by thread): rpms/glpi/devel glpi-logrotate,1.1,1.2 glpi.spec,1.16,1.17
- Next message (by thread): rpms/glpi/F-9 glpi-check.patch, NONE, 1.1 glpi-logrotate, 1.1, 1.2 glpi.spec, 1.16, 1.17
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: remi
Update of /cvs/extras/rpms/glpi/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv758
Added Files:
glpi-check.patch
Log Message:
fix SElinux AVC
glpi-check.patch:
--- NEW FILE glpi-check.patch ---
--- inc/common.function.php.orig 2008-08-09 14:14:22.000000000 +0200
+++ inc/common.function.php 2008-08-09 14:21:16.000000000 +0200
@@ -601,8 +601,7 @@
GLPI_CONFIG_DIR => $LANG["install"][23],
GLPI_SESSION_DIR => $LANG["install"][50],
GLPI_CRON_DIR => $LANG["install"][52],
- GLPI_CACHE_DIR => $LANG["install"][99],
- GLPI_LOG_DIR => $LANG["install"][53]
+ GLPI_CACHE_DIR => $LANG["install"][99]
);
$error=0;
foreach ($dir_to_check as $dir => $message){
@@ -633,6 +632,13 @@
break;
}
}
+ echo "<tr class='tab_bg_1'><td><strong>".$LANG["install"][53]."</strong></td>";
+ if (error_log("Test\n", 3, GLPI_LOG_DIR."/php-errors.log")) {
+ echo "<td>".$LANG["install"][20]."</td></tr>";
+ } else {
+ echo "<td><p class='red'>".$LANG["install"][19]."</p> ".$LANG["install"][97]."'".GLPI_LOG_DIR."'. ".$LANG["install"][98]."</td></tr>";
+ $error=1;
+ }
return $error;
}
- Previous message (by thread): rpms/glpi/devel glpi-logrotate,1.1,1.2 glpi.spec,1.16,1.17
- Next message (by thread): rpms/glpi/F-9 glpi-check.patch, NONE, 1.1 glpi-logrotate, 1.1, 1.2 glpi.spec, 1.16, 1.17
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list