rename classes to be more secure
This commit is contained in:
parent
6d29b2fa06
commit
16fd988412
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
require_once('WDTSTranscript.php');
|
require_once('WDTSTranscript.inc');
|
||||||
|
|
||||||
class WDTSQueuedTranscript extends WDTSTranscriptManager {
|
class WDTSQueuedTranscript extends WDTSTranscriptManager {
|
||||||
var $key = "queued_transcripts";
|
var $key = "queued_transcripts";
|
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
require_once('PHPUnit/Framework.php');
|
require_once('PHPUnit/Framework.php');
|
||||||
require_once(dirname(__FILE__) . '/../classes/WDTSLanguageOptions.php');
|
require_once(dirname(__FILE__) . '/../classes/WDTSLanguageOptions.inc');
|
||||||
require_once(dirname(__FILE__) . '/../../mockpress/mockpress.php');
|
require_once(dirname(__FILE__) . '/../../mockpress/mockpress.php');
|
||||||
|
|
||||||
class WDTSLanguageOptionsTest extends PHPUnit_Framework_TestCase {
|
class WDTSLanguageOptionsTest extends PHPUnit_Framework_TestCase {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
require_once('PHPUnit/Framework.php');
|
require_once('PHPUnit/Framework.php');
|
||||||
require_once(dirname(__FILE__) . '/../../mockpress/mockpress.php');
|
require_once(dirname(__FILE__) . '/../../mockpress/mockpress.php');
|
||||||
require_once(dirname(__FILE__) . '/../classes/WDTSTranscriptOptions.php');
|
require_once(dirname(__FILE__) . '/../classes/WDTSTranscriptOptions.inc');
|
||||||
|
|
||||||
class WDTSTranscriptOptionsTest extends PHPUnit_Framework_TestCase {
|
class WDTSTranscriptOptionsTest extends PHPUnit_Framework_TestCase {
|
||||||
function setUp() {
|
function setUp() {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
require_once('PHPUnit/Framework.php');
|
require_once('PHPUnit/Framework.php');
|
||||||
require_once(dirname(__FILE__) . '/../../mockpress/mockpress.php');
|
require_once(dirname(__FILE__) . '/../../mockpress/mockpress.php');
|
||||||
require_once(dirname(__FILE__) . '/../classes/WDTSTranscript.php');
|
require_once(dirname(__FILE__) . '/../classes/WDTSTranscript.inc');
|
||||||
|
|
||||||
class WDTSTranscriptTest extends PHPUnit_Framework_TestCase {
|
class WDTSTranscriptTest extends PHPUnit_Framework_TestCase {
|
||||||
function setUp() {
|
function setUp() {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
require_once('PHPUnit/Framework.php');
|
require_once('PHPUnit/Framework.php');
|
||||||
require_once(dirname(__FILE__) . '/../../mockpress/mockpress.php');
|
require_once(dirname(__FILE__) . '/../../mockpress/mockpress.php');
|
||||||
require_once(dirname(__FILE__) . '/../classes/WhatDidTheySayAdmin.php');
|
require_once(dirname(__FILE__) . '/../classes/WhatDidTheySayAdmin.inc');
|
||||||
|
|
||||||
class WhatDidTheySayAdminTest extends PHPUnit_Framework_TestCase {
|
class WhatDidTheySayAdminTest extends PHPUnit_Framework_TestCase {
|
||||||
function setUp() {
|
function setUp() {
|
||||||
|
@ -24,7 +24,7 @@ along with this program; if not, write to the Free Software
|
|||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
foreach (glob(dirname(__FILE__) . '/classes/*.php') as $file) { require_once($file); }
|
foreach (glob(dirname(__FILE__) . '/classes/*.inc') as $file) { require_once($file); }
|
||||||
|
|
||||||
$what_did_they_say_admin = new WhatDidTheySayAdmin(&$what_did_they_say);
|
$what_did_they_say_admin = new WhatDidTheySayAdmin(&$what_did_they_say);
|
||||||
$what_did_they_say_admin->_parent_file = __FILE__;
|
$what_did_they_say_admin->_parent_file = __FILE__;
|
||||||
|
Loading…
Reference in New Issue
Block a user