[Rt-commit] [svn] r1208 - in RTx-Atom: . html/Atom/0.3
autrijus at pallas.eruditorum.org
autrijus at pallas.eruditorum.org
Mon Jul 12 15:40:33 EDT 2004
Author: autrijus
Date: Mon Jul 12 15:40:33 2004
New Revision: 1208
Modified:
RTx-Atom/ (props changed)
RTx-Atom/Makefile.PL
RTx-Atom/html/Atom/0.3/autohandler
RTx-Atom/html/Atom/0.3/dhandler
Log:
----------------------------------------------------------------------
r5984 at not: autrijus | 2004-07-12T19:40:16.869672Z
* don't use lib->import anymore.
* strip away leading bsae path from dhandler for fcgi.
----------------------------------------------------------------------
r5985 at not: autrijus | 2004-07-12T19:40:42.302941Z
* remove warnings.
----------------------------------------------------------------------
Modified: RTx-Atom/Makefile.PL
==============================================================================
--- RTx-Atom/Makefile.PL (original)
+++ RTx-Atom/Makefile.PL Mon Jul 12 15:40:33 2004
@@ -7,10 +7,7 @@
warn << '.';
### PLEASE NOTE ##############################################
-This is *PRE-ALPHA* code. Using this module for anything
-(except for learning purporses) is strongly discouraged.
-
-Note that you need a RT3 instance before installing this module.
+You need a RT3 instance before installing this module.
RT3 is available from http://www.bestpractical.com/rt/.
##############################################################
Modified: RTx-Atom/html/Atom/0.3/autohandler
==============================================================================
--- RTx-Atom/html/Atom/0.3/autohandler (original)
+++ RTx-Atom/html/Atom/0.3/autohandler Mon Jul 12 15:40:33 2004
@@ -1,6 +1,9 @@
%# Forbid direct access in this directory -- everything goes thru dhandler
<%INIT>
-$m->notes(dhandler_arg => $r->path_info);
+my $path_info = $r->path_info;
+my $dir_path = $m->request_comp->dir_path;
+$path_info =~ s{^$dir_path}{};
+$m->notes(dhandler_arg => $path_info);
return $m->comp('dhandler');
</%INIT>
<%FLAGS>
Modified: RTx-Atom/html/Atom/0.3/dhandler
==============================================================================
--- RTx-Atom/html/Atom/0.3/dhandler (original)
+++ RTx-Atom/html/Atom/0.3/dhandler Mon Jul 12 15:40:33 2004
@@ -1,7 +1,5 @@
%# The main dispatcher for RT/Atom 0.3
<%INIT>
-require lib;
-lib->import($m->base_comp->source_dir . '/../../../lib');
require RT::Atom;
# needs discussion on using MD5(pass) as Digest token
More information about the Rt-commit
mailing list