+0.004 2012-01-18
+ Fixed documentation: Indentation of configurations.
+ Fixed documentation: Tag name capture_script_name fixed to capture_mt_script.
+
0.003
2010-04-16
Fixed internal not_found call to properly pass $c when an unexisting
in your app. Presuming you installed Movable Type into root/mt, in your App's
config add:
-<Controller::Root>
- cgi_root_path mt/
- cgi_dir mt/
-</Controller::Root>
-<Controller::Mt>
- mt_home = /full/path/to/MyApp/root/mt/
- <actions>
- <capture_script_name>
- PathPart = mt
- </capture_script_name>
- </actions>
-</Controller::Mt>
+ <Controller::Root>
+ cgi_root_path mt/
+ cgi_dir mt/
+ </Controller::Root>
+ <Controller::Mt>
+ mt_home = /full/path/to/MyApp/root/mt/
+ <actions>
+ <capture_mt_script>
+ PathPart = mt
+ </capture_mt_script>
+ </actions>
+ </Controller::Mt>
The cgi_* directives are always given for the Root controller, no matter what
the Root controller is.
Finally, make sure that the Static::Simple doesn't affect the Movable Type's
installation directory. An example:
-__PACKAGE__->config(
- name => 'TerveinkansaFi',
- static => {
- # first ignore all extensions, then specify static directories!
- 'ignore_extensions' => [ qr/.*/ ],
- 'dirs' => [ qw/static/ ]
- }
-);
+ __PACKAGE__->config(
+ name => 'MyApp',
+ static => {
+ # first ignore all extensions, then specify static directories!
+ 'ignore_extensions' => [ qr/.*/ ],
+ 'dirs' => [ qw/static/ ]
+ }
+ );
=head1 METHODS