Feature #19178

Make simulate static a system extension

Added by Benjamin Mack almost 5 years ago. Updated almost 3 years ago.

Status:Closed Start date:2008-08-01
Priority:Should have Due date:
Assignee:Benjamin Mack % Done:

0%

Category:-
Target version:-
TYPO3 Version:4.3 Complexity:
PHP Version:4.3
Votes: 0

Description

The simulate static feature is not used all the time and therefore shouldn't be in the core itself. This way we can keep our core classes smaller and have optional features as - yeah - optional packages. Therefore I created an extension "simulatestatic".

  • I extracted all the necessary parts and also added a new hook in class.tslib_fe.php. In all the other cases I made use of existing functionalities and hooks.
  • I created an updater class that installs "simulatestatic" if it's not installed yet (and realurl or cooluri aren't installed either).
  • I rewrote some configuration options to have a better structure (config.simulateStaticDocuments.paramEncoding instead of config.simulateStaticDocuments_pEnc etc) the old ones are still usable of course until TYPO3 4.5.
  • I added a manual with the configuration options

Once this is in, we also need to update the core documentation, that the old variables are now deprecated and the sysext "simulatestatic" should be used.

(issue imported from #M9094)

20080731_simulatestatic_as_sysext.patch (43.2 kB) Administrator Admin, 2008-08-01 02:27

T3X_simulatestatic-1_0_0-z-200807250001.t3x (46 kB) Administrator Admin, 2008-08-01 02:27

20080908_simulatestatic_as_sysext.patch (43.2 kB) Administrator Admin, 2008-09-08 22:03

20080921_simulatestatic.patch (44.2 kB) Administrator Admin, 2008-10-31 20:42

0009094_v5.patch (43.7 kB) Administrator Admin, 2008-10-31 22:12


Related issues

related to Core - Bug #20027: Evaluation PATH_INFO in tslib_fe::checkAlternativeIdMetho... Closed 2009-02-16

History

Updated by Oliver Hader over 4 years ago

Committed to SVN Trunk (rev. 4405)

Also available in: Atom PDF