Fixed error #63. Again x2.
This commit is contained in:
parent
4f8ef06df3
commit
1a46f1a56a
@ -104,11 +104,9 @@ Rails::assets()->setConsole($c);
|
|||||||
|
|
||||||
# Compile files
|
# Compile files
|
||||||
# CSS minifier Toopay/Assetic-Minifier uses /e modifier in its
|
# CSS minifier Toopay/Assetic-Minifier uses /e modifier in its
|
||||||
# preg_replace() calls, which is deprecated as of PHP 5.5, triggering
|
# preg_replace() calls, which is deprecated as of PHP 5.5. Change
|
||||||
# an error and stopping the script. This workaround will fix that problem.
|
# error_reporting to avoid triggering the deprecation warning.
|
||||||
error_reporting(0);
|
set_error_handler('nullErrorHandler');
|
||||||
Rails::assets()->compileFile('application.css');
|
|
||||||
Rails::config()->assets->precompile = ['application.js'];
|
|
||||||
Rails::assets()->compileAll();
|
Rails::assets()->compileAll();
|
||||||
|
|
||||||
$c->put("done");
|
$c->put("done");
|
||||||
@ -122,6 +120,7 @@ $c->put("Installation finished.", Color::GREEN);
|
|||||||
$c->put("You may delete this install.php file.");
|
$c->put("You may delete this install.php file.");
|
||||||
$c->put();
|
$c->put();
|
||||||
|
|
||||||
|
function nullErrorHandler() {}
|
||||||
|
|
||||||
function getAdminData($c)
|
function getAdminData($c)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user