Browse Source

Fix Width issue on Desktop, Fixed security on settings.ini.php

causefx 10 năm trước cách đây
mục cha
commit
d27c201cc3

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
css/min.css


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
css/tabs.min.css


+ 2 - 1
example.ini.php

@@ -1,3 +1,4 @@
+; <?php die("Access denied"); ?>
 [general]
 title = "iCauseFX"
 password = "$5$rounds=10000$eouObTi7kzkrVSUi$SWDzat61s1exrkWhI6DzRnlPI2b6oGHjiLmBM.T/BL0"
@@ -31,4 +32,4 @@ enabled = "true"
 [NZB]
 url = "http://nzbget.net/"
 icon = "fa-cloud-download"
-enabled = "true"
+enabled = "true"

BIN
fonts/FontAwesome.otf


BIN
fonts/fontawesome-webfont.eot


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 196 - 0
fonts/fontawesome-webfont.svg


BIN
fonts/fontawesome-webfont.ttf


BIN
fonts/fontawesome-webfont.woff


+ 3 - 2
index.php

@@ -10,7 +10,8 @@ foreach ($config as $keyname => $section) {
         
         if(!empty($section["useicons"]) && ($section["useicons"]=="true")){ 
             
-            $icons = "active"; 
+            $icons = "active";
+            if($icons == "active"){ $px = "80px"; }else{ $px = "50px";}
             
             $guesticons = "<span><i class=\"fa fa-toggle-on\"></i></span>";
             $adminicons = "<span><i class=\"fa fa-toggle-on\"></i></span>";
@@ -88,7 +89,7 @@ if(!file_exists('settings.ini.php')){
                 </ul>
 
                 <!-- Content container -->
-                <div>              
+                <div style="top: <?=$px;?>">              
 
                     <?=$loadedurls;?>
                     <?=$lasttaburl;?>

+ 2 - 0
settings.php

@@ -119,6 +119,8 @@ if(empty($_POST["password-0"])){ $_POST["password-0"] = $nopass;}
 if(strlen($_POST["password-0"]) < 50){ $_POST["password-0"] = crypt($_POST["password-0"], sprintf('$5$rounds=%d$%s$', $rounds, $salt)); }
 //password crap      
 
+$sampleData .= '; <?php die("Access denied"); ?>' . "\r\n";
+    
 foreach ($_POST as $parameter => $value) {
     $splitParameter = explode('-', $parameter);
     if ($value == "on")

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác