Skip to content

Commit

Permalink
Using absolute paths in require_once
Browse files Browse the repository at this point in the history
  • Loading branch information
Toby Brain committed Jan 4, 2011
1 parent a275e49 commit 708ebeb
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions class/base_classes.php
@@ -1,10 +1,10 @@
<?php

require_once 'serialisation.php';
require_once 'transport.php';
require_once 'log.php';
require_once dirname(__FILE__).'/serialisation.php';
require_once dirname(__FILE__).'/transport.php';
require_once dirname(__FILE__).'/log.php';

define('CS_REST_WRAPPER_VERSION', '1.0.2');
define('CS_REST_WRAPPER_VERSION', '1.0.3');

define('CS_REST_WEBHOOK_FORMAT_JSON', 'json');
define('CS_REST_WEBHOOK_FORMAT_XML', 'xml');
Expand Down
2 changes: 1 addition & 1 deletion csrest_campaigns.php
@@ -1,5 +1,5 @@
<?php
require_once 'class/base_classes.php';
require_once dirname(__FILE__).'/class/base_classes.php';

/**
* Class to access a campaigns resources from the create send API.
Expand Down
2 changes: 1 addition & 1 deletion csrest_clients.php
@@ -1,5 +1,5 @@
<?php
require_once 'class/base_classes.php';
require_once dirname(__FILE__).'/class/base_classes.php';

define('CS_REST_CLIENT_ACCESS_NONE', 0x0);
define('CS_REST_CLIENT_ACCESS_REPORTS', 0x1);
Expand Down
2 changes: 1 addition & 1 deletion csrest_general.php
@@ -1,6 +1,6 @@
<?php

require_once 'class/base_classes.php';
require_once dirname(__FILE__).'/class/base_classes.php';

/**
* Class to access general resources from the create send API.
Expand Down
2 changes: 1 addition & 1 deletion csrest_lists.php
@@ -1,5 +1,5 @@
<?php
require_once 'class/base_classes.php';
require_once dirname(__FILE__).'/class/base_classes.php';

define('CS_REST_CUSTOM_FIELD_TYPE_TEXT', 'Text');
define('CS_REST_CUSTOM_FIELD_TYPE_NUMBER', 'Number');
Expand Down
2 changes: 1 addition & 1 deletion csrest_segments.php
@@ -1,5 +1,5 @@
<?php
require_once 'class/base_classes.php';
require_once dirname(__FILE__).'/class/base_classes.php';

/**
* Class to access a segments resources from the create send API.
Expand Down
2 changes: 1 addition & 1 deletion csrest_subscribers.php
@@ -1,5 +1,5 @@
<?php
require_once 'class/base_classes.php';
require_once dirname(__FILE__).'/class/base_classes.php';

/**
* Class to access a subscribers resources from the create send API.
Expand Down
2 changes: 1 addition & 1 deletion csrest_templates.php
@@ -1,5 +1,5 @@
<?php
require_once 'class/base_classes.php';
require_once dirname(__FILE__).'/class/base_classes.php';

/**
* Class to access a templates resources from the create send API.
Expand Down

0 comments on commit 708ebeb

Please sign in to comment.