* Delete unused file.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
<?php
|
||||
$config->misc->key1 = 'value1';
|
||||
@@ -1,2 +0,0 @@
|
||||
<?php
|
||||
$config->misc->key2 = 'value2';
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -1,2 +0,0 @@
|
||||
<?php
|
||||
$lang->misc->item1 = 'item1';
|
||||
@@ -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 />";
|
||||
}
|
||||
}
|
||||
@@ -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.
|
||||
}
|
||||
@@ -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.
|
||||
@@ -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);?>
|
||||
Reference in New Issue
Block a user