summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--application/views/welcome_message.php69
-rw-r--r--[-rwxr-xr-x]system/core/Loader.php5
-rw-r--r--user_guide_src/source/changelog.rst1
3 files changed, 46 insertions, 29 deletions
diff --git a/application/views/welcome_message.php b/application/views/welcome_message.php
index d906bc8d7..48f362e53 100644
--- a/application/views/welcome_message.php
+++ b/application/views/welcome_message.php
@@ -11,65 +11,77 @@
::webkit-selection{ background-color: #E13300; color: white; }
body {
- background-color: #fff;
- margin: 40px;
+ background-color: #393939;
font: 13px/20px normal Helvetica, Arial, sans-serif;
color: #4F5155;
}
a {
- color: #003399;
+ color: #e64c1b;
background-color: transparent;
font-weight: normal;
}
h1 {
color: #444;
- background-color: transparent;
- border-bottom: 1px solid #D0D0D0;
- font-size: 19px;
+ border-bottom: 1px dotted #d9d9d9;
+ padding-bottom:8px;
+ font-size: 24px;
font-weight: normal;
- margin: 0 0 14px 0;
- padding: 14px 15px 10px 15px;
}
code {
font-family: Consolas, Monaco, Courier New, Courier, monospace;
font-size: 12px;
- background-color: #f9f9f9;
- border: 1px solid #D0D0D0;
- color: #002166;
+ background-color: #f5f5f5;
+ border: 1px dotted #d8d8d8;
+ color: #555;
display: block;
margin: 14px 0 14px 0;
padding: 12px 10px 12px 10px;
}
#body{
- margin: 0 15px 0 15px;
- }
-
- p.footer{
- text-align: right;
- font-size: 11px;
- border-top: 1px solid #D0D0D0;
- line-height: 32px;
- padding: 0 10px 0 10px;
- margin: 20px 0 0 0;
+ background-color:#fff;
+ padding:1em 2em;
+ border-bottom:6px solid #e64c1b;
}
#container{
- margin: 10px;
- border: 1px solid #D0D0D0;
- -webkit-box-shadow: 0 0 8px #D0D0D0;
+ width:640px;
+ margin:5em auto 0 auto;
+ }
+
+ #container>img
+ {
+ margin:0 auto;
+ display:block;
+ margin-bottom:1.5em;
+ }
+
+ #footer
+ {
+ text-align:right;
+ text-transform:uppercase;
+ font-size:10px;
+ color:#888;
+ }
+
+ #footer em
+ {
+ font-style:normal;
+ color:#ccc;
}
</style>
</head>
<body>
<div id="container">
- <h1>Welcome to CodeIgniter!</h1>
-
+ <!-- CodeIgniter Logo as BASE64 Data -->
+ <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAA/CAYAAACmVEtSAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyBpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBXaW5kb3dzIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkNDNTAyNjQzRTFFNTExRTBBNkMwRjMxM0JEMjM2RTA1IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkNDNTAyNjQ0RTFFNTExRTBBNkMwRjMxM0JEMjM2RTA1Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3Rhb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BBMFfkBhTwi9qA4SJdiehndl45j9fHmjUsdc7NgCXgfhYK9BTwKSub5CK5O+tCcCz7EhtUMiR7OoyfjVYZhkfAUyxnnBxM1uigdIMAI6zW6tThfm/uunjfwEGABeasOxXx8L/AAAAAElFTkSuQmCC" alt="CodeIgniter">
<div id="body">
+ <h1>Welcome to CodeIgniter!</h1>
+
<p>The page you are looking at is being generated dynamically by CodeIgniter.</p>
<p>If you would like to edit this page you'll find it located at:</p>
@@ -78,10 +90,9 @@
<p>The corresponding controller for this page is found at:</p>
<code>application/controllers/welcome.php</code>
- <p>If you are exploring CodeIgniter for the very first time, you should start by reading the <a href="user_guide/">User Guide</a>.</p>
+ <p>If you are exploring CodeIgniter for the very first time, you should start by reading the <a href="user_guide/">User Guide</a>.</p>
</div>
-
- <p class="footer">Page rendered in <strong>{elapsed_time}</strong> seconds. <?php echo (ENVIRONMENT == 'development') ? 'CodeIgniter Version <strong>' . CI_VERSION . '</strong>' : '' ?></p>
+ <div id="footer">Page rendered in <em>{elapsed_time}</em> seconds. <?php echo (ENVIRONMENT == 'development') ? 'CodeIgniter Version <em>' . CI_VERSION .'</em>' : '' ?></div>
</div>
</body>
diff --git a/system/core/Loader.php b/system/core/Loader.php
index de0fc06d2..5539aae14 100755..100644
--- a/system/core/Loader.php
+++ b/system/core/Loader.php
@@ -616,6 +616,11 @@ class CI_Loader {
require BASEPATH.'libraries/Driver.php';
}
+ if ($library == '')
+ {
+ return FALSE;
+ }
+
// We can save the loader some time since Drivers will *always* be in a subfolder,
// and typically identically named to the library
if ( ! strpos($library, '/'))
diff --git a/user_guide_src/source/changelog.rst b/user_guide_src/source/changelog.rst
index 8249b63ad..7bfd51f09 100644
--- a/user_guide_src/source/changelog.rst
+++ b/user_guide_src/source/changelog.rst
@@ -22,6 +22,7 @@ Release Date: Not Released
- Added support pgp,gpg to mimes.php.
- Added support 3gp, 3g2, mp4, wmv, f4v, vlc Video files to mimes.php.
- Added support m4a, aac, m4u, xspf, au, ac3, flac, ogg Audio files to mimes.php.
+ - Changed default view styles to include CodeIgniter logo and color scheme.
- Helpers