Jump to content

IPS Default Theme ID


Recommended Posts

This is a really big request, I'm on my knees, but I posted a bit ago about the first theme ID not being 1, and breaking some stuff. Do you think we could have it be a constant in init.php instead, so one could manually adjust it?


\IPS\Theme::deleteCompiledResources( $dir->getFilename(), null, null, null, ( $id === 0 ? 1 : $id ) );





To something like \IPS\DEFAULT_THEME_ID


This would really let me continue to have the first theme in the table have an ID of 3 without manually editing the files everytime.


Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...