Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
base system
Priority:
Major
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
9 Jun 2015 at 12:45 UTC
Updated:
9 Jun 2015 at 14:58 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
cilefen commentedComment #2
joshi.rohit100Comment #3
alexpottLet's call
DrupalKernel::getSitePath()only once.Comment #4
cilefen commentedComment #5
cilefen commentedOh I didn't realize ::getSitePath will probably work. Oh no it won't. It isn't a static method.
Comment #7
alexpott@cilefen yep you're right - at this point - no container nothing we definitely have to use
::findSitePath()Comment #8
alexpottI've merged this patch into #2487592: CMI: don't ship with a default "active" directory that is empty in most Drupal installations to prevent unnecessary re-rolling and added the contributors to this patch to the suggested commit message on the other issue.
Comment #9
alexpottNot a performance issue this one :)