cedric pushed a commit to branch master.

http://git.enlightenment.org/website/www.git/commit/?id=78a90dcf87438bdd3e1cccb4ed4eecba46305799

commit 78a90dcf87438bdd3e1cccb4ed4eecba46305799
Author: Cedric BAIL <[email protected]>
Date:   Tue Nov 14 15:11:33 2017 -0800

    ss: move admin IP from e2 to devs.enlightenment.org
    
    If you are a dev or a probie, you can ssh into devs.enlightenment.org
    with a SOCKS proxy on (ssh -D 1080 devs.enlightenment.org) and tell
    your web browser to access enlightenment.org with that proxy. This
    will allow you to moderate screen shot as you wish.
---
 public_html/ss/display.php | 3 +--
 public_html/ss/remove.php  | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/public_html/ss/display.php b/public_html/ss/display.php
index 063fe3eb..31804799 100644
--- a/public_html/ss/display.php
+++ b/public_html/ss/display.php
@@ -36,8 +36,7 @@
        $head = true;
      }
 
-print get_ip() ;
-   if ($head == $auth || get_ip() == "140.211.167.168")
+   if ($head == $auth || get_ip() == "140.211.167.135")
      {
        print "<span><a href=remove.php?image=" . $img . ">Remove 
content</a></span>\n";
      }
diff --git a/public_html/ss/remove.php b/public_html/ss/remove.php
index c10aa34f..9e3fcd45 100644
--- a/public_html/ss/remove.php
+++ b/public_html/ss/remove.php
@@ -20,7 +20,7 @@ $ip = get_ip();
 if ($img[0] == "e" && file_exists($file))
   {
     $remove = 0;
-    if ($ip = "140.211.167.168")
+    if ($ip = "140.211.167.135")
       {
        $remove = 1;
       }

-- 


Reply via email to