/[smecontribs]/rpms/smeserver-ocsinventory/contribs7/smeserver-ocsinventory-0.1-panel.patch
ViewVC logotype

Annotation of /rpms/smeserver-ocsinventory/contribs7/smeserver-ocsinventory-0.1-panel.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Mon Mar 2 23:25:57 2009 UTC (15 years, 2 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-ocsinventory-0_1-10_el4_sme, smeserver-ocsinventory-0_1-5_el4_sme, smeserver-ocsinventory-0_1-11_el4_sme, smeserver-ocsinventory-0_1-8_el4_sme, smeserver-ocsinventory-0_1-9_el4_sme, smeserver-ocsinventory-0_1-6_el4_sme, smeserver-ocsinventory-0_1-7_el4_sme, smeserver-ocsinventory-0_1-4_el4_sme, HEAD
Initial import of smeserver-ocsinventory

1 slords 1.1 diff -Nur -x '*.orig' -x '*.rej' smeserver-ocsinventory-0.1/createlinks mezzanine_patched_smeserver-ocsinventory-0.1/createlinks
2     --- smeserver-ocsinventory-0.1/createlinks 2008-12-09 04:54:55.000000000 +0100
3     +++ mezzanine_patched_smeserver-ocsinventory-0.1/createlinks 2008-12-09 04:54:40.000000000 +0100
4     @@ -15,3 +15,7 @@
5    
6     safe_symlink("/etc/e-smith/templates-default/template-begin-php", "root/etc/e-smith/templates/etc/ocsinventory/ocsinventory-reports/dbconfig.inc.php/template-begin");
7    
8     +panel_link("ocs", 'manager');
9     +
10     +
11     +
12     diff -Nur -x '*.orig' -x '*.rej' smeserver-ocsinventory-0.1/root/etc/e-smith/web/functions/ocs mezzanine_patched_smeserver-ocsinventory-0.1/root/etc/e-smith/web/functions/ocs
13     --- smeserver-ocsinventory-0.1/root/etc/e-smith/web/functions/ocs 1970-01-01 01:00:00.000000000 +0100
14     +++ mezzanine_patched_smeserver-ocsinventory-0.1/root/etc/e-smith/web/functions/ocs 2008-12-09 04:47:58.000000000 +0100
15     @@ -0,0 +1,32 @@
16     +#!/usr/bin/perl
17     +#----------------------------------------------------------------------
18     +# heading : Administration
19     +# description : OCS Inventory
20     +# navigation : 4000 4200
21     +#----------------------------------------------------------------------
22     +
23     +use strict;
24     +use CGI':all';
25     +use CGI::Carp qw(fatalsToBrowser);
26     +
27     +
28     +BEGIN
29     +{
30     + $ENV {'PATH'} = '/bin:/usr/bin:/sbin';
31     + $ENV {'SHELL'} = '/bin/bash';
32     + delete $ENV {'ENV'};
33     +}
34     +
35     +
36     +my $q = new CGI;
37     +my $content="0; url=https://".$ENV {'HTTP_X_FORWARDED_HOST'}."/ocs";
38     +$q->default_dtd('-//W3C//DTD XHTML 1.0 Transitional//EN');
39     +
40     +print $q->header ('text/html');
41     +print $q->start_html (-head=>meta({-http_equiv=>'refresh', -content=>$content}));
42     +
43     +
44     +
45     +print $q->end_html;
46     +
47     +

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed