OSDN Git Service

embrj
[embrj/master.git] / lib / config.sample.php
index 954654e..48b7e18 100644 (file)
@@ -1,21 +1,16 @@
-<?php\r
-       define('API_URL', 'http://api.twitter.com/1.1');\r
-       \r
-       // Config\r
-       define('SECURE_KEY', 'YOU SHOULD CHANGE IT'); //You should NOT leave it blank\r
-       define('BASE_URL','http://embr.in'); //Where your embr is hosted, i.e. http://bugbug.tk\r
-       define("CONSUMER_KEY", "TEItTaPASySnYxziOyIdag");\r
-       define("CONSUMER_SECRET", "xJEoWvBumpqgiiBuviWTa7GT8KCvP7Kv3n0hixhJaZY");\r
-       \r
-       //Extra Auth\r
-       define('BASIC_AUTH', false); // if you set basic_auth true, u MUST set up the following BASIC_AUTH_USER and BASIC_AUTH_PW, and you d better reset your secure_key\r
-       define('BASIC_AUTH_USER', 'your_basic_auth_user');\r
-       define('BASIC_AUTH_PW', 'your_basic_auth_password');\r
-\r
-       define('ID_AUTH',false); // if you set id_auth true, u MUST set up the following AUTH_ID list\r
-       $AUTH_ID = array('username1','username2','username3','......');\r
-\r
-       //Optional Information\r
-       define('SITE_OWNER', 'TWITTER'); //Your Twitter ID  \r
-       define('BLOG_SITE',''); //blog_site\r
-?>\r
+<?php
+       define('API_URL', 'https://api.twitter.com/1.1');
+       
+       // Config
+       define('SECURE_KEY', 'YOU SHOULD CHANGE IT'); //You should NOT leave it blank
+       define('BASE_URL','http://embr.in'); //Where your embr is hosted, i.e. http://bugbug.tk
+       define("CONSUMER_KEY", "TEItTaPASySnYxziOyIdag");
+       define("CONSUMER_SECRET", "xJEoWvBumpqgiiBuviWTa7GT8KCvP7Kv3n0hixhJaZY");
+
+       define('ID_AUTH',false); // if you set id_auth true, u MUST set up the following AUTH_ID list
+       $AUTH_ID = array('username1','username2','username3','......');
+
+       //Optional Information
+       define('SITE_OWNER', 'TWITTER'); //Your Twitter ID  
+       define('BLOG_SITE',''); //blog_site
+?>