Skip to content

armgit / Vvveb

Public Imported from GitHub
0

Powerful and easy to use cms to build websites, blogs or ecommerce stores.

Typo

givanz5bb077339059
diff --git a/system/config.php b/system/config.php
index e02ca0f..49a4721 100755
--- a/system/config.php
+++ b/system/config.php
@@ -47,7 +47,7 @@ class Config {
if (file_exists($file)) {
try {
$this->config[$namespace] = include $file;
- } catch (Exception $e) {
+ } catch (\Exception $e) {
}
} else {
$this->config[$namespace] = NULL;
diff --git a/system/mail/mail.php b/system/mail/mail.php
index 74f4b6a..470fdda 100755
--- a/system/mail/mail.php
+++ b/system/mail/mail.php
@@ -67,9 +67,9 @@ class Mail {
if (isset($this->option['attachments'])) {
foreach ($this->option['attachments'] as $attachment) {
if (is_file($attachment)) {
- $name = basename($attachment);
- $id = urlencode(basename($attachment));
- $contnt = file_get_contents($attachment);
+ $name = basename($attachment);
+ $id = urlencode(basename($attachment));
+ $content = file_get_contents($attachment);
$attachments .= '--' . $this->option['boundary'] . EOL;
$attachments .= "Content-Type: application/octet-stream; name=\"$name\"" . EOL;