Some more coding style update
Bu işleme şunda yer alıyor:
ebeveyn
0f09ef5f8c
işleme
3b0d696dbb
2 değiştirilmiş dosya ile 3 ekleme ve 3 silme
|
@ -59,7 +59,7 @@ function notFound () {
|
||||||
{
|
{
|
||||||
$file = $book->getFilePath ($type);
|
$file = $book->getFilePath ($type);
|
||||||
// get image size
|
// get image size
|
||||||
if($size = GetImageSize($file)){
|
if ($size = GetImageSize($file)) {
|
||||||
$w = $size[0];
|
$w = $size[0];
|
||||||
$h = $size[1];
|
$h = $size[1];
|
||||||
//set new size
|
//set new size
|
||||||
|
@ -85,7 +85,7 @@ function notFound () {
|
||||||
{
|
{
|
||||||
$file = $book->getFilePath ($type);
|
$file = $book->getFilePath ($type);
|
||||||
// get image size
|
// get image size
|
||||||
if($size = GetImageSize($file)){
|
if ($size = GetImageSize($file)) {
|
||||||
$w = $size[0];
|
$w = $size[0];
|
||||||
$h = $size[1];
|
$h = $size[1];
|
||||||
//set new size
|
//set new size
|
||||||
|
|
|
@ -59,7 +59,7 @@ $mail->IsHTML(false);
|
||||||
$mail->Subject = 'Sent by COPS';
|
$mail->Subject = 'Sent by COPS';
|
||||||
$mail->Body = 'Sent by COPS';
|
$mail->Body = 'Sent by COPS';
|
||||||
|
|
||||||
if(!$mail->Send()) {
|
if (!$mail->Send()) {
|
||||||
echo localize ("mail.messagenotsent");
|
echo localize ("mail.messagenotsent");
|
||||||
echo 'Mailer Error: ' . $mail->ErrorInfo;
|
echo 'Mailer Error: ' . $mail->ErrorInfo;
|
||||||
exit;
|
exit;
|
||||||
|
|
Yükleniyor…
Tablo ekle
Add a link
Yeni konuda referans