In fire_log_view.php the include('styles.css'); fails if you don't specify a specific include path to the spark's directory.
Instead, let's make this more MVC-friendly (and CI-friendly since CI takes over routing by making everything relative to the application's public index.php).
I added the following lines below line 75 in Fire_log.php
In
fire_log_view.php
theinclude('styles.css');
fails if you don't specify a specific include path to the spark's directory.Instead, let's make this more MVC-friendly (and CI-friendly since CI takes over routing by making everything relative to the application's public index.php).
I added the following lines below line 75 in Fire_log.php
And then change line 7 in fire_log_view.php to this:
<?php echo $styles; ?>
And voila. No path issues with including the stylesheet, and it's relative for your environment.
Cheers.