Fossil

Check-in [9d845ebb00]
Login

Check-in [9d845ebb00]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Internal docs: removed outdated references to skn_NAME paths.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 9d845ebb001e853d2c4a642dfc751d92a468c172fdc98c3a29b2bcf174045cba
User & Date: stephan 2021-06-16 05:23:31.274
Context
2021-06-16
12:44
On the /cachestat page, provide a link to the timeline check-in context for the origin of each item in the cache. ... (check-in: 61c33f67b3 user: drh tags: trunk)
05:23
Internal docs: removed outdated references to skn_NAME paths. ... (check-in: 9d845ebb00 user: stephan tags: trunk)
03:12
Show the exact size of each cache entry in the web cache status page. ... (check-in: 45e11fe4c5 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/main.c.
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845

  /* At this point, the appropriate repository database file will have
  ** been opened.
  */


  /*
  ** Check to see if the first term of PATH_INFO specifies an alternative
  ** skin.  This will be the case if the first term of PATH_INFO
  ** begins with "draftN/" where N is an integer between 1 and 9 or
  ** if it is "skn_X/" where X is one of the built-in skin names.
  ** If either is true, then activate the alternative skin.a
  **
  ** If there are multiple skn_X entries (ex: /skn_default/skn_ardoise/...)
  ** then skip over all but the last.  This allows one to link to an
  ** alternative skin in hyperlinks even if you are already in an alternative
  ** skin.
  */
  if( zPathInfo && strncmp(zPathInfo,"/draft",6)==0
   && zPathInfo[6]>='1' && zPathInfo[6]<='9'
   && (zPathInfo[7]=='/' || zPathInfo[7]==0)
  ){
    int iSkin = zPathInfo[6] - '0';
    char *zNewScript;







|
|
|
<
|
<
<
<
<
<







1822
1823
1824
1825
1826
1827
1828
1829
1830
1831

1832





1833
1834
1835
1836
1837
1838
1839

  /* At this point, the appropriate repository database file will have
  ** been opened.
  */


  /*
  ** Check to see if the first term of PATH_INFO specifies an
  ** alternative skin.  This will be the case if the first term of
  ** PATH_INFO begins with "draftN/" where N is an integer between 1

  ** and 9. If so, activate the skin associated with that draft.





  */
  if( zPathInfo && strncmp(zPathInfo,"/draft",6)==0
   && zPathInfo[6]>='1' && zPathInfo[6]<='9'
   && (zPathInfo[7]=='/' || zPathInfo[7]==0)
  ){
    int iSkin = zPathInfo[6] - '0';
    char *zNewScript;