Various fixes

This commit is contained in:
Samuel Georges 2015-02-12 21:04:05 +11:00
parent e50a220fae
commit 3d04f06ad1
7 changed files with 17 additions and 21 deletions

View File

@ -1,4 +1,4 @@
* **Build 187** (2015-03-31)
* **Build 187** (2015-02-12)
- **Upgraded framework to Laravel version 5**, see the [end of beta page](http://octobercms.com/beta#advanced-upgrade) for information on how to upgrade.
- Introduced a linking policy to control the way URLs are generated globally (see config cms.linkPolicy).
- Popup control now supports several sizes via `data-size` attribute: giant, huge, large, small, tiny.

View File

@ -81,7 +81,7 @@ return array(
|
*/
'key' => 'CHANGE_ME!!!',
'key' => 'CHANGE_ME!!!!!!!',
'cipher' => MCRYPT_RIJNDAEL_128,

View File

@ -153,7 +153,7 @@ class CmsException extends ApplicationException
$check = true;
}
// Expected: */app/storage/cache/39/05/home.htm.php
// Expected: */storage/cms/cache/39/05/home.htm.php
if (strpos($exception->getFile(), $this->compoundObject->getFileName() . '.php')) {
$check = true;
}

View File

@ -3,8 +3,8 @@
<head>
<meta charset="utf-8">
<title><?= Lang::get('cms::lang.page.not_found.label') ?></title>
<link href="<?= URL::to('/modules/system/assets/vendor/font-autumn/css/font-autumn.css') ?>" rel="stylesheet">
<link href="<?= URL::to('/modules/system/assets/css/styles.css') ?>" rel="stylesheet">
<link href="<?= Url::asset('/modules/system/assets/vendor/font-autumn/css/font-autumn.css') ?>" rel="stylesheet">
<link href="<?= Url::asset('/modules/system/assets/css/styles.css') ?>" rel="stylesheet">
</head>
<body>
<div class="container">

View File

@ -3,8 +3,8 @@
<head>
<meta charset="utf-8">
<title><?= Lang::get('cms::lang.page.custom_error.label') ?></title>
<link href="<?= URL::to('/modules/system/assets/vendor/font-autumn/css/font-autumn.css') ?>" rel="stylesheet">
<link href="<?= URL::to('/modules/system/assets/css/styles.css') ?>" rel="stylesheet">
<link href="<?= Url::asset('/modules/system/assets/vendor/font-autumn/css/font-autumn.css') ?>" rel="stylesheet">
<link href="<?= Url::asset('/modules/system/assets/css/styles.css') ?>" rel="stylesheet">
</head>
<body>
<div class="container">

View File

@ -77,12 +77,10 @@ class ServiceProvider extends ModuleServiceProvider
*/
Event::listen('console.schedule', function($schedule) use ($pluginManager) {
foreach ($pluginManager->getPlugins() as $plugin) {
if (!method_exists($plugin, 'registerSchedule')) {
continue;
}
if (method_exists($plugin, 'registerSchedule')) {
$plugin->registerSchedule($schedule);
}
}
});
/*
@ -97,11 +95,9 @@ class ServiceProvider extends ModuleServiceProvider
* Write all log events to the database
*/
Event::listen('illuminate.log', function ($level, $message, $context) {
if (!DbDongle::hasDatabase() || defined('OCTOBER_NO_EVENT_LOGGING')) {
return;
}
if (DbDongle::hasDatabase() && !defined('OCTOBER_NO_EVENT_LOGGING')) {
EventLog::add($message, $level);
}
});
/*

View File

@ -3,12 +3,12 @@
<head>
<meta charset="utf-8">
<title>Exception</title>
<link href="<?= URL::to('/modules/system/assets/vendor/font-autumn/css/font-autumn.css') ?>" rel="stylesheet">
<link href="<?= URL::to('/modules/system/assets/css/styles.css') ?>" rel="stylesheet">
<script src="<?= URL::to('/modules/system/assets/vendor/syntaxhighlighter/scripts/shCore.js') ?>"></script>
<script src="<?= URL::to('/modules/system/assets/vendor/syntaxhighlighter/scripts/shBrushPhp.js') ?>"></script>
<script src="<?= URL::to('/modules/system/assets/vendor/syntaxhighlighter/scripts/shBrushXml.js') ?>"></script>
<link href="<?= URL::to('/modules/system/assets/vendor/syntaxhighlighter/styles/shCore.css') ?>">
<link href="<?= Url::asset('/modules/system/assets/vendor/font-autumn/css/font-autumn.css') ?>" rel="stylesheet">
<link href="<?= Url::asset('/modules/system/assets/css/styles.css') ?>" rel="stylesheet">
<script src="<?= Url::asset('/modules/system/assets/vendor/syntaxhighlighter/scripts/shCore.js') ?>"></script>
<script src="<?= Url::asset('/modules/system/assets/vendor/syntaxhighlighter/scripts/shBrushPhp.js') ?>"></script>
<script src="<?= Url::asset('/modules/system/assets/vendor/syntaxhighlighter/scripts/shBrushXml.js') ?>"></script>
<link href="<?= Url::asset('/modules/system/assets/vendor/syntaxhighlighter/styles/shCore.css') ?>">
</head>
<body>
<div class="container">