Mr. Mac's Magical Lego Tour logo

Mr. Mac's Magical Lego Tour

Break It Demo #8 · all demos · working site
A path variable built before pathvar
What’s wrong: This page loads a copy of vars.inc where the cssvar line comes above the pathvar line. When cssvar is set, pathvar does not exist yet, so cssvar stores the plain text [pathvar]css/ and keeps it.
[text]cssvar=[pathvar]css/[/text]   <-- pathvar not set yet
[text]pathvar=/citi/coding/ajm/mysite/[/text]
Look at: the whole page: no colors or layout. Everything else (images, links) still works because those variables come after pathvar.
Fix: put pathvar first in vars.inc, then build the others from it.
a Lego minifigure

Something is broken on this page

Read the red box at the top, find the problem, and say how you would fix it.