Skip to content
Browse files

Prepping the Plugin for Release.

  • Loading branch information...
1 parent 029915f commit 34a430091d5fc462775162e2acfb44295d0e5bd2 @rsandor rsandor committed Oct 27, 2011
Showing with 13 additions and 3 deletions.
  1. +0 −1 fastly.php
  2. +12 −1 lib/admin.php
  3. +1 −1 lib/api.php
View
1 fastly.php
@@ -9,7 +9,6 @@
Author URI: http://fastly.com/
*/
-
/**
* Main plugin code.
* @package Fastly
View
13 lib/admin.php
@@ -26,7 +26,18 @@ function FastlyAdmin() {
add_action('wp_ajax_set_page', array(&$this, 'ajaxSetPage'));
add_action('wp_ajax_sign_up', array(&$this, 'ajaxSignUp'));
- //update_option('fastly_page', 'welcome');
+ #update_option('fastly_page', 'welcome');
+ update_option('fastly_page', 'configure');
+
+ /* Point to CI API Server
+ update_option('fastly_api_hostname', '184.106.66.217');
+ update_option('fastly_api_port', 5500);
+ //*/
+
+ /* Point to Dev API Server
+ update_option('fastly_api_hostname', '10.235.5.18');
+ update_option('fastly_api_port', 80);
+ //*/
// Grab an instance of the API adapter
$this->api = new FastlyAPI(
View
2 lib/api.php
@@ -77,7 +77,7 @@ function purge($uri) {
* Sends a purge all request to the Fastly API.
*/
function purgeAll($service_id) {
- return $this->post('/service/'.$service_id.'/purge_all');
+ return $this->post('/service/' . $service_id . '/purge_all');
}
/**

0 comments on commit 34a4300

Please sign in to comment.
Something went wrong with that request. Please try again.