19 lines
366 B
PHP
Executable File
19 lines
366 B
PHP
Executable File
#!/usr/bin/env php
|
|
<?php
|
|
|
|
/**
|
|
|
|
title=测试 fileModel->getPathOfImportedFile();
|
|
cid=0
|
|
|
|
- 获取导入路径 @tmp/import
|
|
|
|
*/
|
|
include dirname(__FILE__, 5) . '/test/lib/init.php';
|
|
include dirname(__FILE__, 2) . '/lib/file.unittest.class.php';
|
|
su('admin');
|
|
|
|
$file = new fileTest();
|
|
|
|
r($file->getPathOfImportedFileTest()) && p() && e('tmp/import'); // 获取导入路径
|