Task #51482

Epic #70573: Clean up entrypoints

Deprecate script based modules

Added by Kay Strobach almost 8 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Could have
Assignee:
Category:
System/Bootstrap/Configuration
Target version:
Start date:
2013-08-29
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
Sprint Focus:

Description

Would it make sense to always use the mod.php, instead of using the following line in conf.php?

$MCONF['script']='index.php';
#1

Updated by Philipp Gampe almost 8 years ago

I would even move the stuff in conf.php into the modules registration. IMHO modules registration should be some kind of register plugin with a classname+method.

#2

Updated by Ernesto Baschny almost 8 years ago

Would make sense, yes, but the core still does that in some modules:

typo3/sysext/cms/layout/conf.php:$MCONF['script'] = 'db_layout.php';
typo3/sysext/func/mod1/conf.php:$MCONF['script'] = 'index.php';
typo3/sysext/info/mod1/conf.php:$MCONF['script'] = 'index.php';
typo3/sysext/version/cm1/conf.php:$MCONF['script'] = 'index.php';

Please also note that Benni merged this FEATURE some time ago which is related to this: #49643. Since Benni is now "back in business" you might want to get in touch with him for further details or plans in this area.

#3

Updated by Georg Ringer over 6 years ago

IMO only db_layout is still using the old way...

#5

Updated by Benni Mack almost 6 years ago

  • Status changed from New to Accepted
  • Target version changed from 6.2.0 to 7.5

Now we only need to document this behaviour.

#6

Updated by Benni Mack over 5 years ago

  • Category changed from Backend API to 1599
  • Assignee set to Benni Mack
  • Target version changed from 7.5 to 7 LTS

We need to modify EXT:form wizards then we can completely deprecate this logic. Hopefully in time for 7.6

#7

Updated by Gerrit Code Review over 5 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43871

#8

Updated by Gerrit Code Review over 5 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43871

#9

Updated by Benni Mack over 5 years ago

  • Parent task set to #70573
#10

Updated by Gerrit Code Review over 5 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43871

#11

Updated by Gerrit Code Review over 5 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43871

#12

Updated by Gerrit Code Review over 5 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43871

#13

Updated by Gerrit Code Review over 5 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43871

#14

Updated by Gerrit Code Review over 5 years ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43871

#15

Updated by Benni Mack over 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#16

Updated by Riccardo De Contardi over 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF