* Delete unused file.

This commit is contained in:
sgm0422
2021-02-01 16:45:15 +08:00
parent 4e4106dbac
commit c11c68997d
14 changed files with 1 additions and 55 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ package:
for module in `ls zentaopms/module/`; do if [ ! -d "zentaopms/module/$$module/ext" ]; then mkdir zentaopms/module/$$module/ext; fi done
find zentaopms/ -name ext |xargs chmod -R 777
mkdir zentaopms/tools; cp tools/cn2tw.php zentaopms/tools; cd zentaopms/tools; php cn2tw.php
rm -r zentaopms/module/misc/ext
#rm -r zentaopms/module/misc/ext
rm -rf zentaopms/tools
pms:
make common
-2
View File
@@ -1,2 +0,0 @@
<?php
$config->misc->key1 = 'value1';
-2
View File
@@ -1,2 +0,0 @@
<?php
$config->misc->key2 = 'value2';
-13
View File
@@ -1,13 +0,0 @@
<?php
class misc extends control
{
public function getsid()
{
$this->view->header->title = 'getsid';
$this->view->sid = session_id();
$this->view->test = $this->misc->test();
$this->display();
}
}
?>
-2
View File
@@ -1,2 +0,0 @@
<?php
$lang->misc->item1 = 'item1';
-2
View File
@@ -1,2 +0,0 @@
<?php
$lang->misc->item2 = 'item2';
@@ -1,8 +0,0 @@
<?php
class testMisc extends miscModel
{
public function hello()
{
return parent::hello() . " from ext model<br />";
}
}
-6
View File
@@ -1,6 +0,0 @@
<?php
public function hello2()
{
echo $this->loadExtension('test')->hello(); // Load testMisc class from test.class.php in ext/model/class.
return $this->testMisc->hello(); // After loading, can use $this->testMisc to call it.
}
-4
View File
@@ -1,4 +0,0 @@
public function foo()
{
return 'foo';
}
@@ -1,2 +0,0 @@
<?php
echo "start from hello.test.php <br>";
@@ -1,2 +0,0 @@
<?php
echo 'start from hellp.test2.php<br>';
@@ -1,2 +0,0 @@
<?php
echo 'start from hello2.start.php<br>';
@@ -1,5 +0,0 @@
<script language="Javascript">
$('#topbar').css('color', 'red');
</script>
<br />
output from the hook file.
-4
View File
@@ -1,4 +0,0 @@
<?php include '../../view/getsid.html.php';?> <br />
output from the ext view file: <?php echo $test;?><br />
ext config:<?php a($config->misc);?>
ext lang:<?php a($lang->misc);?>