Use Laravel Blade template in CodeIgniter based projects
Usage:
-
enable composer autoload in
/application/config/config.php
:$config['composer_autoload'] = TRUE;
-
copy following files:
Use Laravel Blade template in CodeIgniter based projects
Usage:
enable composer autoload in /application/config/config.php
:
$config['composer_autoload'] = TRUE;
copy following files:
// This runs Apache server in foreground. | |
// Usage: | |
// sudo $(which node) apache-foreground.js | |
const child_process = require('child_process'); | |
// SIGTERM listener has been set because Apache process can emit SIGTERM in parent process | |
// and by setting SIGTERM listener the default behavior of exiting the process is overridden | |
process.on('SIGTERM', () => { | |
}); |
<IfModule mod_headers.c> | |
<If "%{REQUEST_URI} =~ /\.js$/ && -f '%{REQUEST_FILENAME}' && -f '%{REQUEST_FILENAME}.map'"> | |
Header set SourceMap "expr=%{REQUEST_URI}.map" | |
</If> | |
</IfModule> |